![]() |
|
Just another Perl shrine | |
PerlMonks |
Re^3: Searching for a word that may only exist in partby mreece (Friar) |
on Oct 19, 2006 at 02:40 UTC ( #579259=note: print w/replies, xml ) | Need Help?? |
oh, i misunderstood, thinking only at the beginning or end of the 'find' sequence (1111 is the beginning (..and end..) of 11111).
the regexes are fixable (/(^$tail|$tail$)/ and same for $head?) easily enough.. i just wanted an excuse to use chop ;-)
In Section
Seekers of Perl Wisdom
|
|