summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2015-10-19 11:35:15 -0600
committerKarl Williamson <khw@cpan.org>2015-10-19 12:33:33 -0600
commit6de80efc60204ec4e862718e70b28b9e641fb6d3 (patch)
tree302acd8391bb8c3648240df251b6b09e218dc6e2
parent1ec7020c6d7616222f91168caf1e5257e86e4774 (diff)
downloadperl-6de80efc60204ec4e862718e70b28b9e641fb6d3.tar.gz
regexec.c: Add comment
-rw-r--r--regexec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/regexec.c b/regexec.c
index 504ae6156a..d619ed5f55 100644
--- a/regexec.c
+++ b/regexec.c
@@ -2106,6 +2106,8 @@ S_find_byclass(pTHX_ regexp * prog, const regnode *c, char *s,
}
}
+ /* And, since this is a bound, it can match after the final
+ * character in the string */
if (to_complement ^ cBOOL(reginfo->intuit || regtry(reginfo, &s))) {
goto got_it;
}