• edited by
413 views

1 Answer

1 1 vote
This is wrong what about string ababa how will you generate this.

It should be b*(b*ab*ab*ab*)*b*

And on other hand if you mean n(a)=0mod3 this means it should not contain any than its just b*

But if n(a)mod3=0 then the above one
Position:
Show:

Related questions

0 0 votes
1 1 answer
401
401 views
L_Rashmi_Dedeepya asked Nov 14, 2024
401 views
Most languages are case sensitive, so keywords can be written only one way, and the regular expressions describing their lexemes are very simple. However, some languages,...