summaryrefslogtreecommitdiff
path: root/pcre_compile.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2013-11-09 16:54:52 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2013-11-09 16:54:52 +0000
commit7de890de6074833fd0b0ed433c69a431cd7bf0cb (patch)
tree5de8295036ebc0ec83944a9a181a38ba88bc8008 /pcre_compile.c
parent25ab1d4dc4c7d82c3431b37d52bc924c5362721d (diff)
downloadpcre-7de890de6074833fd0b0ed433c69a431cd7bf0cb.tar.gz
Add (*NO_AUTO_POSSESS) and document interaction between auto-possessification
and callouts. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1395 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_compile.c')
-rw-r--r--pcre_compile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pcre_compile.c b/pcre_compile.c
index f4ab80d..903b466 100644
--- a/pcre_compile.c
+++ b/pcre_compile.c
@@ -8741,6 +8741,8 @@ PCRE_UTF8 == PCRE_UTF16 == PCRE_UTF32. */
{ skipatstart += 6; options |= PCRE_UTF8; continue; }
else if (STRNCMP_UC_C8(ptr+skipatstart+2, STRING_UCP_RIGHTPAR, 4) == 0)
{ skipatstart += 6; options |= PCRE_UCP; continue; }
+ else if (STRNCMP_UC_C8(ptr+skipatstart+2, STRING_NO_AUTO_POSSESS_RIGHTPAR, 16) == 0)
+ { skipatstart += 18; options |= PCRE_NO_AUTO_POSSESSIFY; continue; }
else if (STRNCMP_UC_C8(ptr+skipatstart+2, STRING_NO_START_OPT_RIGHTPAR, 13) == 0)
{ skipatstart += 15; options |= PCRE_NO_START_OPTIMIZE; continue; }