[Python-Dev] SRE 0.9.8 benchmarks (original) (raw)

Guido van Rossum guido@beopen.com
Wed, 02 Aug 2000 18:11:39 -0500


Hmm... here's an old problem that's returned (recursion on repeated group matches, I expect):

>>> p=re.compile('(x)*') >>> p <SREPattern object at 0x8127048> >>> p.match(500000*'x') Segmentation fault (core dumped)

Ouch.

Andrew, would you mind adding a test case for that to the re test suite? It's important that this doesn't come back!

--Guido van Rossum (home page: http://www.pythonlabs.com/~guido/)