summaryrefslogtreecommitdiffstats
path: root/server/util_pcre.c
diff options
context:
space:
mode:
authorEric Covener <covener@apache.org>2020-02-07 18:08:41 +0100
committerEric Covener <covener@apache.org>2020-02-07 18:08:41 +0100
commit81313af01a49df05b4f7d3996ffc2b052d1638bc (patch)
tree48450c59311d62febb837c6c34f759a861e61de8 /server/util_pcre.c
parentbump (diff)
downloadapache2-81313af01a49df05b4f7d3996ffc2b052d1638bc.tar.xz
apache2-81313af01a49df05b4f7d3996ffc2b052d1638bc.zip
factor out default regex flags
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1873747 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/util_pcre.c')
-rw-r--r--server/util_pcre.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/util_pcre.c b/server/util_pcre.c
index b7c1e041ee..581ccc031d 100644
--- a/server/util_pcre.c
+++ b/server/util_pcre.c
@@ -157,8 +157,7 @@ AP_DECLARE(void) ap_regfree(ap_regex_t *preg)
* Compile a regular expression *
*************************************************/
-static int default_cflags = AP_REG_DOTALL |
- AP_REG_DOLLAR_ENDONLY;
+static int default_cflags = AP_REG_DEFAULT;
AP_DECLARE(int) ap_regcomp_get_default_cflags(void)
{