in reply to Re: Can this be a 1 line or simpler regex?
in thread Can this be a 1 line or simpler regex?
Beautiful. Though, without knowing exactly why, that layout bugs me. I'd rather do
Shrug. :)s{([\t\n\r\f])}{ local $_= $1; tr[\t\n\r\f][tnrf]; "\\$_" }eg;
Makeshifts last the longest.
In Section
Seekers of Perl Wisdom