summaryrefslogtreecommitdiffstats
path: root/server/util_pcre.c
diff options
context:
space:
mode:
authorNick Kew <niq@apache.org>2010-09-21 20:42:20 +0200
committerNick Kew <niq@apache.org>2010-09-21 20:42:20 +0200
commitd4963eadb1091258de4e18b3ac56fe67a3c6d7aa (patch)
treee70d1c85f13801b0067d70fdf353e37a9d085d44 /server/util_pcre.c
parentReformat these <pre> tables as actual HTML tables (diff)
downloadapache2-d4963eadb1091258de4e18b3ac56fe67a3c6d7aa.tar.xz
apache2-d4963eadb1091258de4e18b3ac56fe67a3c6d7aa.zip
Introduce ap_rxplus class: higher-level regexps supporting perl-style
regexp operations. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@999533 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/util_pcre.c')
-rw-r--r--server/util_pcre.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/util_pcre.c b/server/util_pcre.c
index 089c6d360b..8309d5a4a8 100644
--- a/server/util_pcre.c
+++ b/server/util_pcre.c
@@ -128,6 +128,7 @@ int options = 0;
if ((cflags & AP_REG_ICASE) != 0) options |= PCRE_CASELESS;
if ((cflags & AP_REG_NEWLINE) != 0) options |= PCRE_MULTILINE;
+if ((cflags & AP_REG_DOTALL) != 0) options |= PCRE_DOTALL;
preg->re_pcre = pcre_compile(pattern, options, &errorptr, &erroffset, NULL);
preg->re_erroffset = erroffset;