summaryrefslogtreecommitdiff
path: root/ext/pcre/pcrelib/pcreposix.c
diff options
context:
space:
mode:
authorNuno Lopes <nlopess@php.net>2009-04-11 18:57:27 +0000
committerNuno Lopes <nlopess@php.net>2009-04-11 18:57:27 +0000
commit90a2d1979486b2e7fa14be9c3210b9d321c668f8 (patch)
tree9f67ba72ee6010944487be2790c467dd2ea2cbaf /ext/pcre/pcrelib/pcreposix.c
parentff62b87cd6b94c50fbbac88bf4129f6418efe131 (diff)
downloadphp-git-90a2d1979486b2e7fa14be9c3210b9d321c668f8.tar.gz
upgrade PCRE to version 7.9
Diffstat (limited to 'ext/pcre/pcrelib/pcreposix.c')
-rw-r--r--ext/pcre/pcrelib/pcreposix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pcre/pcrelib/pcreposix.c b/ext/pcre/pcrelib/pcreposix.c
index 87c695b2a1..645e060acc 100644
--- a/ext/pcre/pcrelib/pcreposix.c
+++ b/ext/pcre/pcrelib/pcreposix.c
@@ -272,6 +272,7 @@ BOOL nosub =
if ((eflags & REG_NOTBOL) != 0) options |= PCRE_NOTBOL;
if ((eflags & REG_NOTEOL) != 0) options |= PCRE_NOTEOL;
+if ((eflags & REG_NOTEMPTY) != 0) options |= PCRE_NOTEMPTY;
((regex_t *)preg)->re_erroffset = (size_t)(-1); /* Only has meaning after compile */