nysus has asked for the wisdom of the Perl Monks concerning the following question:
"While most of your data will probably be text strings, there's nothing stopping you from using regexes to search and replace any byte sequence..."
At the end of the same paragraph, there is a reference to Chapt. 15, "Unicode". From all this, I'm guessing a byte sequence RE could be performed with a use bytes pragma within scope of the RE. I'm also guessing that a byte sequence RE will be treated exactly the same as a "text string" RE for most Western European languages. Can someone please confirm my thinking on this?
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot";
$nysus = $PM . $MCF;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to perfrom a 'byte sequence' RE?
by John M. Dlugosz (Monsignor) on Jun 26, 2001 at 00:55 UTC | |
|
Re: How to perfrom a 'byte sequence' RE?
by mattr (Curate) on Jun 26, 2001 at 12:44 UTC |