[pmwiki-users] Long tekst

Patrick R. Michaud pmichaud at pobox.com
Thu Apr 9 13:11:41 CDT 2009


On Wed, Apr 08, 2009 at 09:28:01AM +0200, Merijn Hofland wrote:
> ----------------------------------------------------------------------
> Hi Petko,
> 
> Thank you for your reply.
> I tried it (point 2)
> the file tekst is 187 KB so it's at no point larger than 1 MB.

Note that it's not the absolute size of the text that matters, but
rather how many backtracking points PHP's regular expression engine
ends up having to make.  In other words, setting pcre.backtrack_limit
says how many backtracks need to be saved, not how large the text is.
(And yes, with nested expression it's possible for the number of
backtracking points to grow very quickly.)

Beyond that, I'm a bit stumped as to what the problem might be.
Could you see if the text works on pmwiki.org ?

Pm




More information about the pmwiki-users mailing list