in reply to efficient char escape sequence substitution
use strict; use warnings; s/(\\(?:\W|\w{1,3}))/qq("$1")/gee, print for <DATA>; __DATA__ this is a string\t$foowith some text\r\n this is a string\010with some\x09text\r\n
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: efficient char escape sequence substitution
by nobull (Friar) on May 28, 2005 at 07:51 UTC | |
by Roy Johnson (Monsignor) on May 28, 2005 at 21:42 UTC | |
by nobull (Friar) on May 28, 2005 at 22:18 UTC | |
|
Re^2: efficient char escape sequence substitution
by mifflin (Curate) on May 27, 2005 at 23:08 UTC | |
by Roy Johnson (Monsignor) on May 27, 2005 at 23:35 UTC |