[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Typo in regexec.c comment
From: |
Paul Eggert |
Subject: |
Re: Typo in regexec.c comment |
Date: |
Tue, 16 Oct 2012 16:02:30 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121009 Thunderbird/16.0 |
Thanks, fixed as follows:
>From 0aa49ea72a8764e3065ebbfc55459232ca8fb021 Mon Sep 17 00:00:00 2001
From: Paul Eggert <address@hidden>
Date: Tue, 16 Oct 2012 16:01:05 -0700
Subject: [PATCH] * lib/regexec.c (re_search_internal): Fix grammar in
comment.
---
ChangeLog | 4 ++++
lib/regexec.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index fca0234..62b0cf6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-10-16 Paul Eggert <address@hidden>
+
+ * lib/regexec.c (re_search_internal): Fix grammar in comment.
+
2012-10-15 Paul Eggert <address@hidden>
fchmodat, fchownat, fstatat: port to non-inlining compilers
diff --git a/lib/regexec.c b/lib/regexec.c
index 7d130a0..d8a3c4b 100644
--- a/lib/regexec.c
+++ b/lib/regexec.c
@@ -735,7 +735,7 @@ re_search_internal (const regex_t *preg,
mctx.input.tip_context = (eflags & REG_NOTBOL) ? CONTEXT_BEGBUF
: CONTEXT_NEWLINE | CONTEXT_BEGBUF;
- /* Check incrementally whether of not the input string match. */
+ /* Check incrementally whether the input string matches. */
incr = (last_start < start) ? -1 : 1;
left_lim = (last_start < start) ? last_start : start;
right_lim = (last_start < start) ? start : last_start;
--
1.7.11.7