more useful options | |
PerlMonks |
Re: a word of warning about /$pattern/by hardburn (Abbot) |
on Dec 02, 2003 at 14:48 UTC ( [id://311630]=note: print w/replies, xml ) | Need Help?? |
Shouldn't you anchor it, e.g.:
Then you don't have to worry about an empty pattern at all. You also don't have to worry about only part of the string matching the pattern. ---- : () { :|:& };: Note: All code is untested, unless otherwise stated
In Section
Meditations
|
|