Perl-Sensitive Sunglasses | |
PerlMonks |
Re: (jeffa) Re: Regular Expression Piecesby Gilimanjaro (Hermit) |
on May 08, 2003 at 10:20 UTC ( [id://256495]=note: print w/replies, xml ) | Need Help?? |
If performance is not an issue, .* is usually a lot more readable... Wouldn't it be nice if the regex engine optimizes .*'s followed by a character(class) to a negated character class? Seems true to DWIM to me...
In Section
Seekers of Perl Wisdom
|
|