I bet if you benchmarked that, it would be slower than the 2 separate searches, both because of the more complex search part, and the "/e" expression based replace.s/("|\s\s)/($1 eq '"')?'':';'/eg;
In reply to Re: compound search and replace
by RMGir
in thread compound search and replace
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |