Re: [exim] regex acl condition warning

Pàgina inicial
Delete this message
Reply to this message
Autor: David Saez Padros
Data:  
A: Nico Erfurth
CC: EXIM mailing list
Assumpte: Re: [exim] regex acl condition warning
Hi !!

>> regex acl condition warning - error in regex 'xxxxx: missing ) at offset
>> 1023, skipped.
>
> Who uses regexes THAT big?


me.

> I think that Tom never expected this, so the maximum size for a single
> regex in regex.c is 1023 (+1 for the \0).


this is just a list of text pices found in virus warning messages
in the form (eShield has detected|A virus was found|...). I just
splited it in two regex (a|b|c..):(n|m|..) ...

Anyway it will be better to give more useful messages (like 'regex
to long, exceeds 1023 characters') ... anyone could get fooled
trying to find a regex error that does not exist in a offset it
hardly could find.

--
Thanx & best regards ...

----------------------------------------------------------------
    David Saez Padros                http://www.ols.es
    On-Line Services 2000 S.L.       e-mail  david@???
    Pintor Vayreda 1                 telf    +34 902 50 29 75
    08184 Palau-Solita i Plegamans   movil   +34 670 35 27 53
----------------------------------------------------------------