go ahead... be a heretic | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Is there a module which can generate strings that satisfy a certain regular expression? No. That's a very hard question. For many types of grammars, this question is known to be non-solvable. IIRC, this includes regular expressions (the real ones, not the Perl ones). Perl regular expressions are hard to categorize, but they are certainly a superset of classical regular expressions. This of course doesn't mean it's not possible for specific regular expressions. Abigail In reply to Re: Regexp generating strings?
by Abigail-II
|
|