diff options
author | Nuno Lopes <nlopess@php.net> | 2008-01-13 12:48:00 +0000 |
---|---|---|
committer | Nuno Lopes <nlopess@php.net> | 2008-01-13 12:48:00 +0000 |
commit | 5da2171f41bd940379a9fca194404e77a0f10f2b (patch) | |
tree | 97fe5903964c3190e66292404b18824f4d2488d9 /ext/pcre/pcrelib/pcre_get.c | |
parent | f9066b0e497e8a4731977c52d08251304c69b41e (diff) | |
download | php-git-5da2171f41bd940379a9fca194404e77a0f10f2b.tar.gz |
upgrade to PCRE 7.5
Diffstat (limited to 'ext/pcre/pcrelib/pcre_get.c')
-rw-r--r-- | ext/pcre/pcrelib/pcre_get.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pcre/pcrelib/pcre_get.c b/ext/pcre/pcrelib/pcre_get.c index 898f051e89..c13914dae4 100644 --- a/ext/pcre/pcrelib/pcre_get.c +++ b/ext/pcre/pcrelib/pcre_get.c @@ -43,7 +43,7 @@ from the subject string after a regex match has succeeded. The original idea for these functions came from Scott Wimer. */ -#include <config.h> +#include "config.h" #include "pcre_internal.h" @@ -187,7 +187,7 @@ const real_pcre *re = (const real_pcre *)code; int entrysize; char *first, *last; uschar *entry; -if ((re->options & (PCRE_DUPNAMES | PCRE_JCHANGED)) == 0) +if ((re->options & PCRE_DUPNAMES) == 0 && (re->flags & PCRE_JCHANGED) == 0) return pcre_get_stringnumber(code, stringname); entrysize = pcre_get_stringtable_entries(code, stringname, &first, &last); if (entrysize <= 0) return entrysize; |