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/2005-April/052596.html below:

hierarchicial named groups extension to the re library

[Python-Dev] Re: hierarchicial named groups extension to the re library [Python-Dev] Re: hierarchicial named groups extension to the re libraryFredrik Lundh fredrik at pythonware.com
Sat Apr 9 01:37:20 CEST 2005
<ottrey at py.redsoft.be> wrote:

> (ie. the re library only returns the ~last~ match for named groups - not
> a list of ~all~ the matches for the named groups.  And the hierarchy of
 those named groups is non-existant in the flat dictionary of matches
> that results. )

are you 100% sure that this can be implemented on top of other RE
engines (CPython isn't the only Python implementation out there).

(generally speaking, trying to turn an RE engine into a parser is a lousy
idea.  the library would benefit more from a simple parser toolkit than
it benefits from more non-standard and highly specialized RE hacks...)

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