Keep It Simple, Stupid | |
PerlMonks |
Re: Common Perl Pitfallsby muba (Priest) |
on Apr 29, 2012 at 19:32 UTC ( [id://967968]=note: print w/replies, xml ) | Need Help?? |
That frightens me a bit. Your substitution replaces the first occurance "ex" with "ister" in the string, no matter whether "ex" is part of "regex" or something else:
Output:
Istertra?
In Section
Meditations
|
|