I've written an extension to the re library, to provide a more
complete matching of hierarchical named groups in regular expressions.
I've set up a sourceforge project for it:
http://pyre2.sourceforge.net/
re2 extracts a hierarchy of named groups matches from a string,
rather than the flat, i
Nicolas Fleury wrote:
>
> ottrey at py.redsoft.be wrote:
> >>>>import re2
> >>>>buf='12 drummers drumming, 11 pipers piping, 10 lords a-leaping'
> >>>>regex='^((?P(?P\d+) (?P[^,]+))(, )?)*$'
> >>>>pat2=
Hi Gustavo!,
On 4/4/2005, "Gustavo Niemeyer" <[EMAIL PROTECTED]> wrote:
>> Well, that would be something I'd want to discuss here. As I'm not
>> sure if I actually ~want~ to match the API of the re module.
>
>If this feature is considered a good addition for the standard
>library, integrating it