pcre_compile() failed: unrecognized character after (?<

Phillip Oldham phill at activityhq.com
Fri Dec 11 17:58:18 MSK 2009


Igor Sysoev wrote:
> It seems you have PCRE prior to 7.0, try:
>
> -     server_name   ~^test\.(?<domain>.+)$;
> +     server_name   ~^test\.(?P<domain>.+)$
I have pcre-6.6 available on the machine.

I can confirm that's working, and I've updated the wiki with this 
information.

Thanks Igor!



More information about the nginx mailing list