From: Yann Ylavic Date: Thu, 29 Aug 2019 10:55:43 +0000 (+0000) Subject: More about RegexDefaultOptions. X-Git-Tag: 2.5.0-alpha2-ci-test-only~1910 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=883359e708388b0a0a23288ce8e4da3c09a7cb5f;p=thirdparty%2Fapache%2Fhttpd.git More about RegexDefaultOptions. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1866066 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index 49f06b3de20..52bae081657 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -4218,17 +4218,26 @@ Protocols h2 http/1.1
'$' matches at end of subject string only.
+# Reset all default/defined options +RegexDefaultOptions none # Add the ICASE option for all regexes by default RegexDefaultOptions +ICASE ... +# Add the ICASE option to the already applicable ones +RegexDefaultOptions +ICASE # Remove the default DOLLAR_ENDONLY option, but keep any other one RegexDefaultOptions -DOLLAR_ENDONLY ... # Set the DOTALL option only, resetting any other one RegexDefaultOptions DOTALL ... -# Reset all defined options -RegexDefaultOptions none +# Set the DOTALL and ICASE options only +# Options are applied in order and blindly, so: +# RegexDefaultOptions DOTALL ICASE +# would not work as possibly expected (ICASE clears DOTALL) +RegexDefaultOptions none +DOTALL +ICASE +# or "simply" +RegexDefaultOptions DOTALL +ICASE ...