[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
use bytes and regular expressions
I'm confused about what should happen when compiling and executing re's
when "use bytes" is in effect.
I think the only thing that re's currently do with this pragma, is
during pattern matching: even if the string being matched is in utf8, it
is considered as just straight bytes.
The problem I see is that the pattern can be in utf8, since I don't see
any tests during compilation to prevent that from happening, and I don't
know what should or shouldn't be done.
- Follow-Ups from:
-
Rafael Garcia-Suarez <rgarciasuarez@gmail.com>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]