<[EMAIL PROTECTED]> skrev i en meddelelse 
news:[EMAIL PROTECTED]
> 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.

Err. No.

A while back it was established in this forum that re's per design can have 
a maximum of 99 match groups ... I suspect that every "|" silently consumes 
one match group.


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

Reply via email to