Forum Moderators: coopster
To my understanding, that means 0 or more a's OR 0 or more b's ending in a c, right? (c, ac, aac, aaac, bc, bbc, bbbc)
The website where I got this says it means a string that has a sequence of alternating a's and b's ending in a c, which doesn't sound right to me.
Appreciate your clarification.
(a¦b) is either a or b. The asterisk evaluates this expression any number of times. So it can become 'ab' or 'bbbbababa' or whatever combination you want.
What you mean would be this: (a*¦b*)c
Cheers