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-December/070287.html below:

[Python-Dev] [NPERS] Re: a feature i'd like to see in python #2: indexing of match objects

[Python-Dev] [NPERS] Re: a feature i'd like to see in python #2: indexing of match objects [Python-Dev] [NPERS] Re: a feature i'd like to see in python #2: indexing of match objectsFredrik Lundh fredrik at pythonware.com
Fri Dec 8 07:09:30 CET 2006
Talin wrote:

> The original proposal was to make m[n] a synonym for m.group(n). 
> "group()" is clearly map-like in its behavior.

so have you checked what exception m.group(n) raises when you try to 
access a group that doesn't exist ?

frankly, speaking as the original SRE author, I will now flip the 
bikeshed bit on all contributors to this thread, and consider it
closed.  I'll post a patch shortly.

</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