princepawn has asked for the wisdom of the Perl Monks concerning the following question:
$delimiter = 'Y'; $_ = q(this has $100 worth of salt in it) ; warn $_; s/([\x0024])/$delimiter/gm; warn $_; s/([\x24])/$delimiter/gm; warn $_;
Carter's compass: I know I'm on the right track when by deleting something, I'm adding functionality
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: [perlre] 4-digit hex code in regexp? How to specify?
by nothingmuch (Priest) on Nov 14, 2002 at 21:21 UTC | |
|
Re: [perlre] 4-digit hex code in regexp? How to specify?
by hawtin (Prior) on Nov 14, 2002 at 21:38 UTC | |
by Aristotle (Chancellor) on Nov 15, 2002 at 16:41 UTC | |
|
Re: [perlre] 4-digit hex code in regexp? How to specify?
by Mr. Muskrat (Canon) on Nov 14, 2002 at 21:16 UTC | |
by jreades (Friar) on Nov 14, 2002 at 21:43 UTC |