Here you go:
$str=~s/("(\\\"|[^"])+")/{$_=$1;s|\$|\\\$|g;$_}/ge;
One-liners...ya can't beat em with a stick:D
Good luck!
In reply to Re: Escape $ inside quotes only
by pzbagel
in thread Escape $ inside quotes only
by eyepopslikeamosquito
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |