![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re^2: Regexes: finding ALL matches (including overlap)by demerphq (Chancellor) |
on Jun 04, 2005 at 17:15 UTC ( #463549=note: print w/replies, xml ) | Need Help?? |
/..*..*../ is simply /.*/ That strikes me as somewhat odd. The pattern on the right can match a string of less than 4 characters, the pattern of the left can not.
--- $world=~s/war/peace/g
In Section
Seekers of Perl Wisdom
|
|