perl-unicode

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

2010-05-04 06:26:21
* Michael Ludwig <michael(_dot_)ludwig(_at_)xing(_dot_)com> [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/>