Re: [pcre-dev] PCRE head-scratcher

Pàgina inicial
Delete this message
Autor: Philip Hazel
Data:  
A: Wade Williams
CC: pcre-dev
Assumpte: Re: [pcre-dev] PCRE head-scratcher
On Fri, 18 Jul 2008, Wade Williams wrote:

> >        c_regex = pcre_compile2("\[VOR\]", pcre_options | PCRE_NEWLINE_ANY,
> >            &errorcodeptr,
> >             &errptr, &erroffset, NULL);


> What incredibly stupid mistake am I missing?


Try "\\[VOR\\]" instead of "\[VOR\]".

Philip

--
Philip Hazel