in reply to [perlre] 4-digit hex code in regexp? How to specify?
s/([\x{1F24}])/$delimiter/gm;
Update: Sorry did not spot that this had been dismissed. How about the clunky
{ my($temp); $temp1 = "\x{0024}"; $temp2 = "\x{1F45}"; s/([$temp1,$temp2])/$delimiter/gm; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: [perlre] 4-digit hex code in regexp? How to specify?
by Aristotle (Chancellor) on Nov 15, 2002 at 16:41 UTC |