A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2006-February/061866.html below:

[Python-Dev] PEP 332 revival in coordination with pep 349? [Was:Re: release plan for 2.5 ?]

[Python-Dev] PEP 332 revival in coordination with pep 349? [Was:Re: release plan for 2.5 ?]Fredrik Lundh fredrik at pythonware.com
Mon Feb 27 16:34:00 CET 2006
Just van Rossum wrote:

> > If bytes support the buffer interface, we get another interesting
> > issue -- regular expressions over bytes. Brr.
>
> We already have that:
>
>   >>> import re, array
>   >>> re.search('\2', array.array('B', [1, 2, 3, 4])).group()
>   array('B', [2])
>   >>>
>
> Not sure whether to blame array or re, though...

SRE.  iirc, the design rationale was to support RE over mmap'ed regions.

</F>



More information about the Python-Dev mailing list

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