summaryrefslogtreecommitdiff
path: root/include/ap_regex.h
diff options
context:
space:
mode:
authorEric Covener <covener@apache.org>2020-02-12 13:36:40 +0000
committerEric Covener <covener@apache.org>2020-02-12 13:36:40 +0000
commitb6dd2f55dc8735ec09ed0830ba7ec78dd99cde7f (patch)
treec53be323d0e1a03d78978828123cc67b63d2e26d /include/ap_regex.h
parent34ef2afa8c1884b8507c6b5095c4dca3793ea8e2 (diff)
downloadhttpd-b6dd2f55dc8735ec09ed0830ba7ec78dd99cde7f.tar.gz
don't use DOTALL from mod_substitute which leaves \n at the end of the line.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1873941 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/ap_regex.h')
-rw-r--r--include/ap_regex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ap_regex.h b/include/ap_regex.h
index 9eb6b4b861..62a3eb2875 100644
--- a/include/ap_regex.h
+++ b/include/ap_regex.h
@@ -87,6 +87,8 @@ extern "C" {
#define AP_REG_DOLLAR_ENDONLY 0x200 /**< '$' matches at end of subject string only */
+#define AP_REG_NO_DOTALL 0x400 /**< remove AP_REG_DOTALL from defaults */
+
#define AP_REG_MATCH "MATCH_" /**< suggested prefix for ap_regname */
#define AP_REG_DEFAULT (AP_REG_DOTALL|AP_REG_DOLLAR_ENDONLY)