[Python-ideas] Re module repeat
Nick Coghlan
ncoghlan at gmail.com
Mon Aug 1 11:13:53 CEST 2011
On Mon, Aug 1, 2011 at 3:12 PM, Georg Brandl <g.brandl at gmx.net> wrote:
> The "regex" module by Matthew Barnett already supports this:
>
> https://code.google.com/p/mrab-regex-hg/
The PyPI page is more helpful, since it has the docs:
http://pypi.python.org/pypi/regex
(the relevant section is the captures() API under "Repeated captures")
So clearly it sets up the additional storage under the hood when the
pattern is compiled.
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-ideas
mailing list