summaryrefslogtreecommitdiff
path: root/compat/regex/regexec.c
diff options
context:
space:
mode:
authorAndrew Kreimer <algonell@gmail.com>2024-10-10 18:11:19 +0300
committerJunio C Hamano <gitster@pobox.com>2024-10-10 13:31:12 -0700
commit54ee29cfd521b0e043dcc1857e4a7c8d993b5e59 (patch)
tree5ba1e168e5295c92bc0ea3bf8a5538edd675cdfe /compat/regex/regexec.c
parent777489f9e09c8d0dd6b12f9d90de6376330577a2 (diff)
compat: fix typos
Fix typos and grammar. Reported-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Andrew Kreimer <algonell@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/regex/regexec.c')
-rw-r--r--compat/regex/regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/regex/regexec.c b/compat/regex/regexec.c
index e92be5741d..2eeec82f40 100644
--- a/compat/regex/regexec.c
+++ b/compat/regex/regexec.c
@@ -292,7 +292,7 @@ compat_symbol (libc, __compat_regexec, regexec, GLIBC_2_0);
concerned.
If REGS is not NULL, and BUFP->no_sub is not set, the offsets of the match
- and all groups is stroed in REGS. (For the "_2" variants, the offsets are
+ and all groups are stored in REGS. (For the "_2" variants, the offsets are
computed relative to the concatenation, not relative to the individual
strings.)