But other solutions are possible as well.my %repl = qw / < < > > foo bar bar foo /; $wrapper =~ s/([<>]|foo|bar)/$repl{$1}/g;
Abigail
In reply to Re: Regular expression question
by Abigail-II
in thread Regular expression question
by TASdvlper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |