On Wed, 22 Sep 2010, John Lindal wrote:
> Created an attachment (id=403)
> --> (http://bugs.exim.org/attachment.cgi?id=403)
> File that causes infinite loop
That didn't make it through the system. I think you have to attach it
separately in bugzilla. (Or email it to me separately.)
> I used the following pattern:
>
> &"(.|\n)+?instead\\n"\n
That looks weird. Has it been corrupted?
> My call to pcre_exec() generates an endless number of recursive calls to
> match(), until the stack overflows. The call is:
>
> pcre_exec(<regex>, NULL, <str>, 20036, 0, 0, <pmatch>, 6);
>
> on the attached file
Sometimes patterns do just recurse for ever; that isn't PCRE's fault.
However, I'll check your pattern and file when I have them.
Philip
--
Philip Hazel