mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-08 14:40:06 +02:00
Update the internal copy of PCRE to 7.4
2007-11-06 Matthias Clasen <mclasen@redhat.com> * glib/pcre/*: Update the internal copy of PCRE to 7.4 svn path=/trunk/; revision=5800
This commit is contained in:
committed by
Matthias Clasen
parent
9b79a12192
commit
5b81acfae2
@@ -43,6 +43,10 @@ from the subject string after a regex match has succeeded. The original idea
|
||||
for these functions came from Scott Wimer. */
|
||||
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "pcre_internal.h"
|
||||
|
||||
|
||||
@@ -185,7 +189,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;
|
||||
|
Reference in New Issue
Block a user