Perl: the Markov chain saw | |
PerlMonks |
Re^2: Testing regex equivalenceby loris (Hermit) |
on Feb 21, 2006 at 13:13 UTC ( [id://531684]=note: print w/replies, xml ) | Need Help?? |
What I want to do is really to parse the regex in some way and simplifiy it, if possible. So say I have a regex generator and for a certain input it produces .*(.*)$I would like to be able to recognise that this is the same as .*Thanks, "It took Loris ten minutes to eat a satsuma . . . twenty minutes to get from one end of his branch to the other . . . and an hour to scratch his bottom. But Slow Loris didn't care. He had a secret . . ."
In Section
Seekers of Perl Wisdom
|
|