Re: [pcre-dev] How to use pcretest with Lookbehind assertion…

Startseite
Nachricht löschen
Autor: Thorsten Schöning
Datum:  
To: Philip Hazel
Betreff: Re: [pcre-dev] How to use pcretest with Lookbehind assertions?
Guten Tag Philip Hazel,
am Montag, 1. Oktober 2012 um 17:46 schrieben Sie:

> Failed: lookbehind assertion is not fixed length at offset 48


Could you have a look at the regex on what the problem is? Is pkcs7 as
longer as the other branches in the regex not allowed because it is
longer? I thought I just can't use quantifiers. I have other
lookbehind assertions with different stirng length in branches working
fine, e.g. /(?i)(?<!bat|com|exe|js|vbs)$/

Could you tell me the difference to the one with the error? Thanks!

> Did you remember to put the regex in delimiters when feeding it to
> pcretest?


Now I understand, if I use /[...]/ I get the same error, thanks.

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning       E-Mail:Thorsten.Schoening@???
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/


Telefon.............030-2 1001-310
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow