Re: [pcre-dev] PCRE head-scratcher

Etusivu
Poista viesti
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Wade Williams
Kopio: pcre-dev
Aihe: 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