diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-09-10 13:23:56 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-09-10 13:23:56 +0000 |
commit | 6daf21e6a650630d1ef31720c2f92f555127fe80 (patch) | |
tree | 6b7dd8ba7db2c55f02e5fd9dc1313d623e5c5f0b /pcre_get.c | |
parent | 828dc418a519f86a907e0dd989e59bf15893a38e (diff) | |
download | pcre-6daf21e6a650630d1ef31720c2f92f555127fe80.tar.gz |
(1) Move internal flags out of the options field, to make room.
(2) \r and \n must be explicit to trigger the special CRLF handline exception.
(3) (?J) at the start now sets JCHANGED as well as DUPNAMES.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@230 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_get.c')
-rw-r--r-- | pcre_get.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -189,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; |