I have a regular expression that is approximately 100k bytes. (It is
basically a list of all known norwegian postal numbers and the
corresponding place with | in between. I know this is not the intended
use for regular expressions, but it should nonetheless work.

the pattern is
ur'(N-|NO-)?(5259 HJELLESTAD|4026 STAVANGER|4027 STAVANGER........|8305
SVOLVÆR)'

The error message I get is:
RuntimeError: internal error in regular expression engine

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to