[issue4882] Behavior of backreferences to named groups in regular expressions unclear

2009-01-08 Thread alec resnick
New submission from alec resnick : I recently learned about named groups in Python regular expressions. Almost all the documentation I've found online explains what they are and give a simple example of how to use them. I was trying to use the variables outside of the original regex, later in t

[issue4882] Behavior of backreferences to named groups in regular expressions unclear

2009-01-09 Thread Jim Jewett
Jim Jewett added the comment: That sounds like a good idea, particularly since it is a bit different from Perl. Please do write up the a clarification. Typically, I have either attached a file with the suggested wording, or included it in a comment from which a commiter could cut-and-paste.

[issue4882] Behavior of backreferences to named groups in regular expressions unclear

2009-01-18 Thread Georg Brandl
Georg Brandl added the comment: I'm happy to review such a patch. -- priority: -> low ___ Python tracker ___ ___ Python-bugs-list mai

[issue4882] Behavior of backreferences to named groups in regular expressions unclear

2009-02-10 Thread alec resnick
alec resnick added the comment: Hi Georg! Sorry to be so long in getting back to you. I've attached a suggested patch for the python-2.6.1-docs-text/library/re.txt documentation. Also, in looking over Kuchling's HOWTO, the necessary information is actually there, and I just wasn't paying atten

[issue4882] Behavior of backreferences to named groups in regular expressions unclear

2009-03-31 Thread Georg Brandl
Georg Brandl added the comment: Committed a similar patch in r70866. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __