A
Adam
I've searched the web and the Regexp::Common docs and testsuite but
can't figure out how to do multiple substitutions (assuming it's
possible). Obviously, in a normal Perl sub, I can do this:
$var =~ s/foo/blah/g;
I'm running Regexp::Common as such:
$msg = $RE{URI}{HTTP}{-scheme => "https?"}{-keep}->subs($msg =>
"XXX");
(I'm just playing around at the moment, hence the change to "XXX")
Any way to substitute ALL occurrences as the 'g' parameter does?
Thanks for any information.
can't figure out how to do multiple substitutions (assuming it's
possible). Obviously, in a normal Perl sub, I can do this:
$var =~ s/foo/blah/g;
I'm running Regexp::Common as such:
$msg = $RE{URI}{HTTP}{-scheme => "https?"}{-keep}->subs($msg =>
"XXX");
(I'm just playing around at the moment, hence the change to "XXX")
Any way to substitute ALL occurrences as the 'g' parameter does?
Thanks for any information.