There's more than one way to do things | |
PerlMonks |
Re^2: Match a pattern only if it is not within another patternby Codon (Friar) |
on Aug 16, 2005 at 19:52 UTC ( [id://484228]=note: print w/replies, xml ) | Need Help?? |
Should the .+ be a \w+ so as to not jump words?
will not replace 'foo'.
Ivan Heffner Sr. Software Engineer, DAS Lead WhitePages.com, Inc.
In Section
Seekers of Perl Wisdom
|
|