Author: sushi911 | Posted on: 9/20/2010 10:02:21 AM | Views : 836

i have to check if an input string is valid based on the given regular expression.. this is the regular expression.
(a(bb+aaa+((ab)*bb+(aba)*aa)(a+b)*) + (b(aa+bbb+((ba)*aa+(bab)*bb)(a+b)*)
+ is an OR
* is a LOOP, it is optional, it may be done as many as a user wants.


i've tried many ways to solve the problem that my professor gave me but my knowledge isn't that enough to solve this problem.. 
any help would be much appreciated.. :D thanks!
...

Go to the complete details ...