Szerző: Philip Hazel Dátum: Címzett: Thorsten Schöning CC: pcre-dev Tárgy: Re: [pcre-dev] How to use pcretest with Lookbehind assertions?
On Mon, 1 Oct 2012, Thorsten Schöning wrote:
> Is the syntax (?<!) not allowed in pcretest or am I doing something
> wrong? Thanks.
>
> My regex: (?i)(?<!(?:(?:p7m|pk7|pkcs7)\.(?:p7m|pk7|pkcs7))|zip|zip\.(?:p7m|pk7|pkcs7))$
I tried this in pcretest, and I got
Failed: lookbehind assertion is not fixed length at offset 48
Did you remember to put the regex in delimiters when feeding it to
pcretest?