---
 lib/regexec.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/regexec.c b/lib/regexec.c
index a955aa218..106f9d7ff 100644
--- a/lib/regexec.c
+++ b/lib/regexec.c
@@ -758,8 +758,7 @@ re_search_internal (const regex_t *preg, const char 
*string, Idx length,
 
                  offset = match_first - mctx.input.raw_mbs_idx;
                }
-             /* If MATCH_FIRST is out of the buffer, leave it as '\0'.
-                Note that MATCH_FIRST must not be smaller than 0.  */
+             /* If OFFSET is out of the buffer, leave CH as '\0'.  */
              ch = (mctx.input.valid_len <= offset
                    ? 0 : re_string_byte_at (&mctx.input, offset));
              if (fastmap[ch])
-- 
2.32.0


Reply via email to