[issue18562] Regex howto: revision pass

2013-08-18 Thread A.M. Kuchling
Changes by A.M. Kuchling : -- stage: patch review -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue18562] Regex howto: revision pass

2013-08-18 Thread A.M. Kuchling
Changes by A.M. Kuchling : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue18562] Regex howto: revision pass

2013-08-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 366ca21600c9 by Andrew Kuchling in branch '3.3': #18562: various revisions to the regex howto for 3.x http://hg.python.org/cpython/rev/366ca21600c9 -- nosy: +python-dev ___ Python tracker

[issue18562] Regex howto: revision pass

2013-08-18 Thread Ezio Melotti
Ezio Melotti added the comment: #17441 also has a discussion about regex caching that might be relevant. -- ___ Python tracker ___ ___

[issue18562] Regex howto: revision pass

2013-08-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, this is already too long IMO. Two sentences should suffice. If you are calling a regex very often in a loop, then it makes sense to compile it. Otherwise, don't bother. -- nosy: +pitrou ___ Python tracker

[issue18562] Regex howto: revision pass

2013-08-17 Thread A.M. Kuchling
A.M. Kuchling added the comment: Slightly revised version that modifies the discussion of when to pre-compile a regex and when to not bother. I don't think this is a very important issue, so I don't think it needs a long discussion. -- Added file: http://bugs.python.org/file31348/rege

[issue18562] Regex howto: revision pass

2013-08-05 Thread Ezio Melotti
Changes by Ezio Melotti : -- components: +Regular Expressions nosy: +mrabarnett type: -> enhancement ___ Python tracker ___ ___ Pytho

[issue18562] Regex howto: revision pass

2013-07-26 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +ezio.melotti versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue18562] Regex howto: revision pass

2013-07-26 Thread A.M. Kuchling
New submission from A.M. Kuchling: I read through the 3.3 regex howto and have made various edits in the attached patch. * describe how \w is different when used in bytes and Unicode patterns. * describe re.ASCII flag to change that behaviour. * remove a personal reference ('I generally prefe