Hi Simon, The following compilation directive should do the trick for you "USE_PCRE=1".
Baptiste On Wed, May 7, 2014 at 10:31 AM, k simon <chio1...@gmail.com> wrote: > Hi,Lists, > I found I can not share the same regex txt for haproxy and squid. And > I noticed that haproxy use OS libc's regex by default, and can change it > with compile parameters "REGEX=pcre". > Should I recompile haproxy and share the same regex txt? > > > Regards > Simon >