Re: [pcre-dev] (*MARK:NAME) incompatibility

Top Page

Reply to this message
Author: Philip Hazel
To: ND
CC: Pcre-dev
Subject: Re: [pcre-dev] (*MARK:NAME) incompatibility
On Tue, 24 Apr 2012, ND wrote:

> 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.

You can work round this problem by calling your marks (*:1), (*:2),
(*:3), etc, and then using the numbers to index into a table of the
longer strings.


Philip Hazel