hi there!
so i'm studying "compilation" course right now and i got for my homework this question (question number 4):
http://www.cs.sfu.ca/~anoop/teaching...l-2011/hw1.pdf
so i got stuck in question number 4 and i don't know how to solve it. i don't understand how can i make a regular expretion that can go over the words for example:
aa bb ab
so i need to get "aa bb" as a pair, and also "bb ab" as a pair, so how can i go back and "take" the bb for the second pair?
this code is needed to be written in flex
i need help urgent! this hw is need to be submitted this Saturday and that's my last question for this homework.
hope for any help!