[issue8064] Large regex handling very slow on Linux

Ezio Melotti report at bugs.python.org
Fri Mar 5 01:00:33 CET 2010

Ezio Melotti <ezio.melotti at gmail.com> added the comment:

A workaround could be using [^\W\d], but this includes some extra chars in the categories Pc, Nl, and No that maybe you don't want. Generate a list of chars in these 3 categories and add them in the regex should be cheaper though.
Since this is not a bug of Python I'll close this issue.

resolution:  -> invalid
stage:  -> committed/rejected
status: open -> closed

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list