Re: [algogeeks] String Mathching and RegEx [Good Old Days]

2010-06-06 Thread sharad kumar
lets say u entered a*.nw aab is i/p string then recursivley substitute a and check for it.or use a table for storing the augmented grammer On Sun, Jun 6, 2010 at 6:02 PM, Veer Sharma wrote: > Hi All > > Here is a problem for us to solve: > > Write a function which takes as parameters one regu

[algogeeks] String Mathching and RegEx [Good Old Days]

2010-06-06 Thread Veer Sharma
Hi All Here is a problem for us to solve: Write a function which takes as parameters one regular expression(only ? and * are the special characters to consider) and a string and returns whether the string matched the regular expression. -- You received this message because you are subscribed to