s/([^"\\]+|\\.)|("(?:[^"\\]+|\\.)*")/ defined $1 ? $1 : do {local $_ = $2; s'\$'\$'g; $_}/ge;
Abigail
In reply to Re: Escape $ inside quotes only
by Abigail-II
in thread Escape $ inside quotes only
by eyepopslikeamosquito
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |