summaryrefslogtreecommitdiff
path: root/ext/pcre/pcrelib/pcre_info.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/pcre_info.c
parentff62b87cd6b94c50fbbac88bf4129f6418efe131 (diff)
downloadphp-git-90a2d1979486b2e7fa14be9c3210b9d321c668f8.tar.gz
upgrade PCRE to version 7.9
Diffstat (limited to 'ext/pcre/pcrelib/pcre_info.c')
-rw-r--r--ext/pcre/pcrelib/pcre_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/pcrelib/pcre_info.c b/ext/pcre/pcrelib/pcre_info.c
index 0e0a02f595..e6d435b166 100644
--- a/ext/pcre/pcrelib/pcre_info.c
+++ b/ext/pcre/pcrelib/pcre_info.c
@@ -81,7 +81,7 @@ if (re->magic_number != MAGIC_NUMBER)
re = _pcre_try_flipped(re, &internal_re, NULL, NULL);
if (re == NULL) return PCRE_ERROR_BADMAGIC;
}
-if (optptr != NULL) *optptr = (int)(re->options & PUBLIC_OPTIONS);
+if (optptr != NULL) *optptr = (int)(re->options & PUBLIC_COMPILE_OPTIONS);
if (first_byte != NULL)
*first_byte = ((re->flags & PCRE_FIRSTSET) != 0)? re->first_byte :
((re->flags & PCRE_STARTLINE) != 0)? -1 : -2;