regexp compilation error

Chris Angelico rosuav at
Fri Sep 30 11:29:50 CEST 2011

On Fri, Sep 30, 2011 at 7:26 PM, Ovidiu Deac <ovidiudeac at> wrote:
> $ python --version
> Python 2.6.6

Ah, I think I was misinterpreting the traceback. You do actually have
a useful message there; it's the same error that my Py3.2 produced:

sre_constants.error: nothing to repeat

I'm not sure what your regex is trying to do, but the problem seems to
be connected with the * at the end of the pattern.


More information about the Python-list mailing list