Concentric
Expert Member
- Joined
- Feb 16, 2017
- Messages
- 1,028
- Reaction score
- 197
If i need to create a regular expression for a language L that contains the letters {a,b} that if it contains the sub-string bb, it can only contain it once.Am i correct in saying that no string in L can contain more than 2 b's together.
Wouldn't bbb result in 2 sub-strings of bb: (bb)b and b(bb) and therefore not be allowed.
Thanks
@cguy hope you dont mind the ping
Wouldn't bbb result in 2 sub-strings of bb: (bb)b and b(bb) and therefore not be allowed.
Thanks
@cguy hope you dont mind the ping
