summaryrefslogtreecommitdiff
path: root/pcre_exec.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2011-07-20 17:51:54 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2011-07-20 17:51:54 +0000
commita92fc8871aade38c299c7abbe018c78eb63a2e21 (patch)
treec0f9b093bebed010986e4992fc0558f268a4b224 /pcre_exec.c
parente776363aa913cdb4cac0c7c6ed9ac9bc6e8e444b (diff)
downloadpcre-a92fc8871aade38c299c7abbe018c78eb63a2e21.tar.gz
Add the /= modifier to pcretest so as to be able to check unset capturing
parentheses at the ends of patterns. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@626 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_exec.c')
-rw-r--r--pcre_exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcre_exec.c b/pcre_exec.c
index 405f1c5..cc796da 100644
--- a/pcre_exec.c
+++ b/pcre_exec.c
@@ -6370,7 +6370,7 @@ if (rc == MATCH_MATCH || rc == MATCH_ACCEPT)
those at the end that need unsetting here. We can't just unset them all at
the start of the whole thing because they may get set in one branch that is
not the final matching branch. */
-
+
if (md->end_offset_top/2 <= re->top_bracket && offsets != NULL)
{
register int *iptr, *iend;