mercredi 4 mars 2015

Generate All Possible Matches of a Regular Expression


How can I derive all possible matches of a regular expression


For example:



((a,b,c)o(m,v)p,b)



The strings generated from above expression would be:



aomp


bomp


comp


aovp


bovp


covp


b





Aucun commentaire:

Enregistrer un commentaire