[Python-Dev] unicode regex quickie: should a newline be the same
thing as a linebreak?
Moshe Zadka
Moshe Zadka <moshez@math.huji.ac.il>
Sat, 13 May 2000 17:58:17 +0300 (IDT)
On Sat, 13 May 2000, Fredrik Lundh wrote:
> what's the best way to deal with this? I see three alter-
> natives:
>
> a) stick to the old definition, and use chr(10) also for
> unicode strings
If we also supply a \something (is \l taken?) for LINEBREAK, people can
then use [^\l] if they need a Unicode line break. Just a point for a way
to do a thing close to rightness and still not break code.
--
Moshe Zadka <moshez@math.huji.ac.il>
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com