André Malo wrote: > No, I suppose they shouldn't compile. > _re_pair should be (?P=plus).
the (?(NAME)RE|RE) form was added in 2.4. looks like a bug to me; the "plus" group is set to "+" in all four cases, so the final pattern should match. but I might be missing something... </F> -- http://mail.python.org/mailman/listinfo/python-list