Perl Monk, Perl Meditation | |
PerlMonks |
Re: Dynamic regex assertions, capturing groups, and parsers: joy and terrorby demerphq (Chancellor) |
on Oct 03, 2005 at 22:32 UTC ( [id://497068]=note: print w/replies, xml ) | Need Help?? |
I find this quite confusing as well. Update: No this makes perfect sense. Thanks to dio for straightening me out.
How does $1 end up being 'japhy' with this re? Interestingly, changing it to
makes things work out properly.
--- $world=~s/war/peace/g
In Section
Meditations
|
|