regcomp.c: Fix wrong comment
authorKarl Williamson <khw@cpan.org>
Fri, 11 Jan 2019 03:58:00 +0000 (20:58 -0700)
committerKarl Williamson <khw@cpan.org>
Fri, 11 Jan 2019 04:56:24 +0000 (21:56 -0700)
regcomp.c

index 6016a89..56b83f9 100644 (file)
--- a/regcomp.c
+++ b/regcomp.c
@@ -14382,9 +14382,9 @@ S_regatom(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth)
 
                assert(len >= MAX_NODE_STRING_SIZE);
 
-                /* Here, <s> points to the final byte of the final character.
-                 * Look backwards through the string until find a non-
-                 * problematic character */
+                /* Here, <s> points to just beyond where we have output the
+                 * final character of the node.  Look backwards through the
+                 * string until find a non- problematic character */
 
                if (! UTF) {