# HG changeset patch # User Maxim Dounin # Date 1642026970 -10800 # Node ID b7ff3d1915a10faf266d5f30aae5bdf74524e596 # Parent 2594d336342d2030fbbf1841cce784c55a2cdfee Development guide: fixed misleading comment about rc.options. While ngx_regex_compile() indeed used to pass rc.options as is to pcre_compile(), this is certainly not a guaranteed property of the interface. Further, it is no longer true since introduction of PCRE2 support in nginx 1.21.5. diff -r 2594d336342d -r b7ff3d1915a1 xml/en/docs/dev/development_guide.xml --- a/xml/en/docs/dev/development_guide.xml Wed Dec 29 14:07:09 2021 +0300 +++ b/xml/en/docs/dev/development_guide.xml Thu Jan 13 01:36:10 2022 +0300 @@ -9,7 +9,7 @@
+ rev="11">
@@ -623,7 +623,7 @@ rc.pool = cf->pool; rc.err.len = NGX_MAX_CONF_ERRSTR; rc.err.data = errstr; -/* rc.options are passed as is to pcre_compile() */ +/* rc.options can be set to NGX_REGEX_CASELESS */ if (ngx_regex_compile(&rc) != NGX_OK) { ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "%V", &rc.err);