Starting from something I rolling in (tye)Re: Trying to understand some body's old code.: s/(\$[\w\[\]{}']+)/'"'.$1.'"'/gee; I thought that wouldn't work for this case and went about making elaborate changes... But then I realized that the original should work just fine (and even tested it). (:
- tye (but my friends call me "Tye")In reply to (tye)Re: Another question about expanding variables in text strings
by tye
in thread Another question about expanding variables in text strings
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |