]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
regex.3: ffix
authorMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 13 Sep 2019 10:47:32 +0000 (12:47 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 13 Sep 2019 10:47:32 +0000 (12:47 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/regex.3

index bd002661125ee9cb4f2c4483a2b7c246835883c5..8da0ead5943d1eb921e0ec63566a6ef83658235e 100644 (file)
@@ -160,12 +160,19 @@ above).
 .SS BSD regex matching
 .TP
 .B REG_STARTEND
-Use pmatch[0] on the input string, starting at byte pmatch[0].rm_so and ending
-before byte pmatch[0].rm_eo.
+Use
+.I pmatch[0]
+on the input string, starting at byte
+.I pmatch[0].rm_so
+and ending before byte
+.IR pmatch[0].rm_eo .
 This allows matching embedded NUL bytes
-and avoids a strlen() on large strings.
-It does not use nmatch on input,
-and does not change
+and avoids a
+.BR strlen (3)
+on large strings.
+It does not use
+.I nmatch
+on input, and does not change
 .B REG_NOTBOL
 or
 .B REG_NEWLINE