The current match is
Would front anchoring a single char match, as inif ( /\@/ ) { &Frobnitz($_); }
be faster?if ( /^.*\@/ ) { &Frobnitz($_); }
Tusen tak,
-clay
In reply to Regex anchor speed ?: Is /^.*X/ faster than /X/ ? by cshirky
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |