Vlastimil Brom <[email protected]> added the comment:
Actually I had that impression too, but I was mainly surprised with these
requirements being on the lowest level of the unicode support. Anyway, maybe
the relevance of these guidelines for the real libraries is is lower, than I
expected.
Probably the simpler cases are adequately handled with lookarounds, e.g.
(?:\w(?<!\p{Greek}))+ and the complex examples like symmetric differences seem
to be beyond the normal scope of re anyway.
Personally, I would find the surrogate handling more useful, but I see, that it
isn't actually the job for the re library, given that the narrow build of
python doesn't support indexing, slicing, len of these characters either...
vbr
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue2636>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com