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

Páxina inicial
Borrar esta mensaxe
Autor: ND
Data:  
Para: Pcre-dev@exim.org
Asunto: Re: [pcre-dev] (*MARK:NAME) incompatibility

On 2012-04-28 15:03, Philip Hazel wrote:
> 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.


Thanx, Philip. But your suggestion is not well applyable for me because my
client application receives automatically generated regexps from server
application. The (*MARK) verb is effectively used to transmit extended
information for callouts.
I already solves the problem: now my application doing some additional
costly actions to split and restrict this information. But if you can
doing things a bit more Perl-compatible than do it please.

Best regards.