The stupid question is the question not asked | |
PerlMonks |
Re: generating strings from a regular expressionby dws (Chancellor) |
on Jun 21, 2002 at 21:34 UTC ( [id://176412]=note: print w/replies, xml ) | Need Help?? |
But coming from the opposite direction, given a regular expression R, is it possible to generate the set of all strings that match R?
No, for the reason cited above in this thread. The best you can do is generate representative strings. Methings japhy did something along these lines a while back, but da*ned if I can find it.
In Section
Seekers of Perl Wisdom
|
|