I assume non of the values of %main::fixers is undefined.$$text_ref =~ s{"http://\K([^/"]*)(?=["/]){$main::fixers{$1} // $1}eg;
In reply to Re: Replace after match in regex (key value subsitution)
by JavaFan
in thread Replace after match in regex (key value subsitution)
by brycen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |