Re: Don't use the \C escape in regexes - Why not?

[email protected] (Aristotle Pagaltzis) Tue, 4 May 2010 13:24:59 +0200
Newsgroups perl.unicode
Message-ID <[email protected]>
* Michael Ludwig <[email protected]> [2010-05-04 13:10]:
> Is it this (theoretically fragile) implicitness in handling
> character strings that makes \C a bad idea?

Yes. It will do different things with semantically identical
strings whose only difference is whether the UTF8 flag is set,
ie. it suffers the same problems that the `bytes` pragma has.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>