Author timehorse
Recipients akuchling, amaury.forgeotdarc, jimjjewett, mark, pitrou, rsc, timehorse
Date 2008-05-28.13:57:23
SpamBayes Score 0.0444993
Marked as misclassified No
Message-id <1211983046.65.0.24370693459.issue2636@psf.upfronthosting.co.za>
In-reply-to
Content
Mark scribbled:
> One possible solution would be a grouptuples() function that returned
> a tuple of 3-tuples (index, name, captured_text) with the name being
> None for unnamed groups.

Hmm.  Well, that's not a bad idea at all IMHO and would, AFAICT probably 
be easier to do than (2) but I would still do (2) but will try to add 
that to one of the existing items or spawn another item for it since it 
is kind of a distinct feature.

My preference right now is to finish off the test cases for (7) because 
it is already coded, then finish the work on (1) as that was the 
original reason for modification then on to (2) then (3) as they are 
related and then I don't mind tackling (8) because I think that one 
shouldn't be too hard.  Interestingly, the existing engine code 
(sre_parse.py) has a place-holder, commented out, for character classes 
but it was never properly implemented.  And I will warn that with 
Unicode, I THINK all the character classes exist as unicode functions or 
can be implemented as multiple unicode functions, but I'm not 100% sure 
so if I run into that problem, some character classes may initially be 
left out while I work on another item.

Anyway, thanks for the input, Mark!
History
Date User Action Args
2008-05-28 13:57:27timehorsesetspambayes_score: 0.0444993 -> 0.0444993
recipients: + timehorse, akuchling, jimjjewett, amaury.forgeotdarc, pitrou, rsc, mark
2008-05-28 13:57:26timehorsesetspambayes_score: 0.0444993 -> 0.0444993
messageid: <1211983046.65.0.24370693459.issue2636@psf.upfronthosting.co.za>
2008-05-28 13:57:25timehorselinkissue2636 messages
2008-05-28 13:57:24timehorsecreate