On 2011-07-29 15:57, Philip Hazel wrote:
> On Sun, 10 Jul 2011, ND wrote
> Indeed, it does seem so. I have committed a patch that makes PCRE behave
> the same, though it does feel rather dangerous.
>
Thanks a lot. It works. But only one thing:
It seems that maximum (*:NAME) length in PCRE is restricted by about 2^8
bytes. My regular expression needs about 550 symbols in MARK verb and is
well worked in Perl. But I can not port it into PCRE due to this size
resriction.
Here is pcretest listing:
PCRE version 8.30 2012-02-04
/(*:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)/
b
Error -14 (internal error - pattern overwritten?)
How you think about restricting maximum MARK size by
2^(8*"with-link-size") bytes.
And may be error message can be clearer
Thanx.