I just added a new bug on SF (1175396) and because I think
that it is related to other bugs that were assigned to
Walter Doerwald, I assigned this new bug directly to Walter too.
Is that good practice or does someone else usually assign SF bugs to people?
--Irmen
_
Irmen de Jong wrote:
I just added a new bug on SF (1175396) and because I think
that it is related to other bugs that were assigned to
Walter Doerwald, I assigned this new bug directly to Walter too.
Is that good practice or does someone else usually assign SF bugs to people?
I've certainly done th
Nick Coghlan wrote:
> Irmen de Jong wrote:
>
>> I just added a new bug on SF (1175396) and because I think
>> that it is related to other bugs that were assigned to
>> Walter Doerwald, I assigned this new bug directly to Walter too.
>>
>> Is that good practice or does someone else usually assign S
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
[EMAIL PROTECTED] wrote:
import re2
buf='12 drummers drumming, 11 pipers piping, 10 lords a-leaping'
regex='^((?P(?P\d+) (?P[^,]+))(, )?)*$'
pat2=re2.compile(regex)
x=pat2.extract(buf)
x
{'verse': [{'number': '12', 'activity': 'drummers
drumming'}, {'number': '11', 'activity': 'pipers
piping'}, {'n
Nicolas Fleury <[EMAIL PROTECTED]> wrote:
>
> [EMAIL PROTECTED] wrote:
> import re2
> buf='12 drummers drumming, 11 pipers piping, 10 lords a-leaping'
> regex='^((?P(?P\d+) (?P[^,]+))(, )?)*$'
> pat2=re2.compile(regex)
> x=pat2.extract(buf)
If one wanted to match the API of t
Josiah Carlson wrote:
Nicolas Fleury <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED] wrote:
import re2
buf='12 drummers drumming, 11 pipers piping, 10 lords a-leaping'
regex='^((?P(?P\d+) (?P[^,]+))(, )?)*$'
pat2=re2.compile(regex)
x=pat2.extract(buf)
If one wanted to match the API of the re module, o
Josiah Carlson wrote:
re2 can be used as a limited structural parser. This makes the re
module useful for more things than it is currently. The question of it
being in the standard library, however, I think should be made based on
the criteria used previously (whatever they were).
In general, if d
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=re2.compile(regex)
> x=pat2.extract(buf)
> x
> >
> > {'verse': [{'number': '12', 'activ