"be consistent" | |
PerlMonks |
Re: Most specific patternby Ultra (Hermit) |
on Jul 01, 2005 at 06:48 UTC ( [id://471564]=note: print w/replies, xml ) | Need Help?? |
Disclaimer: This may not fit your purposes ... A rough brute method would be to match all the REs against a given string and measure the time consumed. This way you'll have a best fit. read more before flaming...
Actually this doesn't necessarily reveal the best fit, but somehow benchmarks the RE engine.
Dodge This!
In Section
Seekers of Perl Wisdom
|
|