diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2020-12-20 12:01:36 +0100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2020-12-20 12:01:36 +0100 |
| commit | 5b2ab95fed8bd1a40f20aa79ac8e34c33d771cd1 (patch) | |
| tree | abe6f944c8020e334b39ae9eb0bc817dce63a0d9 | |
| parent | 87e8e9e479572a88d17bdd5222b4de33e57ee787 (diff) | |
| download | man-pages-5b2ab95fed8bd1a40f20aa79ac8e34c33d771cd1.tar.gz | |
regex.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
| -rw-r--r-- | man3/regex.3 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/man3/regex.3 b/man3/regex.3 index 3144c2ceb1..22c56845a8 100644 --- a/man3/regex.3 +++ b/man3/regex.3 @@ -370,7 +370,8 @@ int main(void) off = pmatch[0].rm_so + (s \- str); len = pmatch[0].rm_eo \- pmatch[0].rm_so; printf("#%d:\en", i); - printf("offset = %jd; length = %jd\en", (intmax_t) off, (intmax_t) len); + printf("offset = %jd; length = %jd\en", (intmax_t) off, + (intmax_t) len); printf("substring = \e"%.*s\e"\en", len, s + pmatch[0].rm_so); s += pmatch[0].rm_eo; |
