s/([\t\n\r\f])/%m=("\t","\\t","\n","\\n","\r","\\r","\f","\\f");$m{$1}/ge;
but it just feels dirty.
--
IndyZ
In reply to Re: Can this be a 1 line or simpler regex?
by IndyZ
in thread Can this be a 1 line or simpler regex?
by smackdab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |