A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-May/004060.html below:

should a newline be the same thing as a linebreak?

[Python-Dev] unicode regex quickie: should a newline be the same thing as a linebreak? [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




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4