[XML-SIG] Preparing for PyXML 0.6.5
Martin v. Loewis
martin@loewis.home.cs.tu-berlin.de
Wed, 14 Mar 2001 22:32:44 +0100
> If my suggested fix for bug #407810 in xmlproc is correct, it would be
> trivial to fix. If it's not, this might be more difficult to fix.
>
> Lengthy comment blocks cause xmlproc to raise a
> RuntimeError: "maximum recursion depth exceeded"
> error. The problem is that a group is used to match an
> individual character, and SRE recurses
> on group repeats: '([^-]|-[^-])*'.
>
> Fix: would '(.*?)--' be an equivalent pattern?
I must admit that *? was new to me, but it appears to be extremely
useful, and that appears to be the right use for it. IOW, I think your
fix is correct (and probably more efficient in day-to-day use, also).
Regards,
Martin
P.S. Could you take another look at the patches that have been
assigned to you; if not, can you unassign them?
P.P.S. Recently, I could not assign anything to None on SF, so the
last "can" is not only "are you willing to", but also "are you capable
of" :-?