changeset 2819:b7ff3d1915a1

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.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 13 Jan 2022 01:36:10 +0300
parents 2594d336342d
children d6ce81d4ef08
files xml/en/docs/dev/development_guide.xml
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/dev/development_guide.xml
+++ b/xml/en/docs/dev/development_guide.xml
@@ -9,7 +9,7 @@
 <article name="Development guide"
          link="/en/docs/dev/development_guide.html"
          lang="en"
-         rev="10">
+         rev="11">
 
 <section name="Introduction" id="introduction">
 
@@ -623,7 +623,7 @@ rc.pattern = value;
 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(&amp;rc) != NGX_OK) {
     ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "%V", &amp;rc.err);