Your skill will accomplish what the force of many cannot |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
> with-g and without-g cases separately, depending on whether or not $flags =~ s/g// succeeds.
That's reasonable, because /g is not a simple modifier changing the match-rules, it turns the "replace" into a different "replace_all" command with very different behavior.
Cheers Rolf In reply to Re^3: Regexp substitution using variables
by LanX
|
|