Re: [pcre-dev] PCRE head-scratcher

Páxina inicial
Borrar esta mensaxe
Autor: Philip Hazel
Data:  
Para: Wade Williams
CC: pcre-dev
Asunto: 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