in reply to Re: RegEx Perl Code
in thread RegEx Perl Code
I ran a few benchmarks here on a "contrived" large regex and large dataset; although the speed increase through qr// isn't what you'd call large, it is at least significant. Should be noted, though, that the the so-called "evil" /o was the winner in this case.
At any rate, thats not to say qr// is bad. Personally, I think its great because it encourages modularity and readability in regular expressions.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: RegEx Perl Code
by Abigail-II (Bishop) on Jul 24, 2002 at 08:53 UTC |