You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2019/08/29 10:55:43 UTC
svn commit: r1866066 - /httpd/httpd/trunk/docs/manual/mod/core.xml
Author: ylavic
Date: Thu Aug 29 10:55:43 2019
New Revision: 1866066
URL: http://svn.apache.org/viewvc?rev=1866066&view=rev
Log:
More about RegexDefaultOptions.
Modified:
httpd/httpd/trunk/docs/manual/mod/core.xml
Modified: httpd/httpd/trunk/docs/manual/mod/core.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/core.xml?rev=1866066&r1=1866065&r2=1866066&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/core.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/core.xml Thu Aug 29 10:55:43 2019
@@ -4218,17 +4218,26 @@ Protocols h2 http/1.1
<dd>'$' matches at end of subject string only.</dd>
</dl>
<highlight language="config">
+# 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
...
</highlight>
</usage>