summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-04-21 14:09:35 +0200
committerAlejandro Colomar <alx@kernel.org>2023-04-21 14:12:15 +0200
commitb5c5fd34ac4537fc00089c977d8cb72d4de910e6 (patch)
treebd46ca79f48c1f9f9c0d226a2888a9dabde36c00
parent418ef65efaf5ec73eb54022c6661ca9696a62d0c (diff)
regex.3: SYNOPSIS: Remove superfluous comments
This has the benefit that we can use proportional-width fonts in the SYNOPSIS without misalignment in the structures. Cc: Ahelenia ZiemiaƄska <nabijaczleweli@nabijaczleweli.xyz> Cc: Ralph Corderoy <ralph@inputplus.co.uk> Cc: "G. Branden Robinson" <g.branden.robinson@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man3/regex.39
1 files changed, 3 insertions, 6 deletions
diff --git a/man3/regex.3 b/man3/regex.3
index a5a8e0260..e16e56289 100644
--- a/man3/regex.3
+++ b/man3/regex.3
@@ -31,15 +31,12 @@ Standard C library
.BI "void regfree(regex_t *" preg );
.PP
.B typedef struct {
-.BR " size_t re_nsub;" " /* Number of parenthesized subexpressions */"
+.B " size_t re_nsub;"
.B } regex_t;
.PP
.B typedef struct {
-.BR " regoff_t rm_so;" " /* Byte offset from start of string"
- to start of substring */
-.BR " regoff_t rm_eo;" " /* Byte offset from start of string to"
- the first character after the end of
- substring */
+.B " regoff_t rm_so;"
+.B " regoff_t rm_eo;"
.B } regmatch_t;
.PP
.BR typedef " /* ... */ " regoff_t;