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

Pàgina inicial
Delete this message
Autor: Thorsten Schöning
Data:  
A: Philip Hazel
Assumpte: Re: [pcre-dev] How to use pcretest with Lookbehind assertions?
Guten Tag Thorsten Schöning,
am Montag, 1. Oktober 2012 um 18:44 schrieben Sie:

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


The difference is, that only top level branches can be of different
length and I use pkcs7 etc. underneath the top level branch. Seems I
have to rewrite this somehow...

Branches that match different length
strings are permitted only at the top level of a lookbehind assertion.
This is an extension compared with Perl, which requires all branches to
match the same length of string. An assertion such as

      (?<=ab(c|de))


is not permitted,

http://www.pcre.org/pcre.txt

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