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

Pàgina inicial
Delete this message
Autor: Philip Hazel
Data:  
A: ND
CC: Pcre-dev
Assumpte: Re: [pcre-dev] (*MARK:NAME) incompatibility
On Sun, 10 Jul 2011, ND wrote:

> Here is PCRE listing:
>
> PCRE version 8.11 2010-12-10
> /a(*:any name)/K
> Failed: (*VERB) not recognized at offset 7
>
> "MARK" verb don't allow to use in "NAME" parameter national symbols, spaces,
> CRs, LFs and may be many other symbols.
> Original Perl allows it.
> It seems that in Perl "NAME" may be any sequence until close round bracket
> occurs.


Indeed, it does seem so. I have committed a patch that makes PCRE behave
the same, though it does feel rather dangerous.

Philip

--
Philip Hazel