summaryrefslogtreecommitdiffstats
path: root/server/util_regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/util_regex.c')
-rw-r--r--server/util_regex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/util_regex.c b/server/util_regex.c
index 2a30d68176..daf0ae7caa 100644
--- a/server/util_regex.c
+++ b/server/util_regex.c
@@ -101,6 +101,7 @@ AP_DECLARE(ap_rxplus_t*) ap_rxplus_compile(apr_pool_t *pool,
case 'n': ret->flags |= AP_REG_NOMEM; break;
case 'g': ret->flags |= AP_REG_MULTI; break;
case 's': ret->flags |= AP_REG_DOTALL; break;
+ case 'S': ret->flags |= AP_REG_NO_DOTALL; break;
case '^': ret->flags |= AP_REG_NOTBOL; break;
case '$': ret->flags |= AP_REG_NOTEOL; break;
default: break; /* we should probably be stricter here */