in reply to Re: Re: Common Regex Gotchas
in thread Common Regex Gotchas
Happily, that doesn't appear to be the case. I don't see any occurence of the $& et al. variables in the code for Benchmark.pm
The real problem here is the use of /e on the substitution, when this would work just as well and be much more efficient: s/(\w+)/\U$1/g;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: Common Regex Gotchas
by dws (Chancellor) on May 09, 2001 at 00:32 UTC | |
by chipmunk (Parson) on May 09, 2001 at 00:37 UTC |
In Section
Tutorials