Re: [pcre-dev] PCRE head-scratcher

Top Page
Delete this message
Author: Philip Hazel
Date:  
To: Wade Williams
CC: pcre-dev
Subject: 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