From ce0fd56bd75cec61f2b1eaa5a6cf8783a0b8a27b Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 13 Sep 2019 12:47:32 +0200 Subject: [PATCH] regex.3: ffix Signed-off-by: Michael Kerrisk --- man3/regex.3 | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/man3/regex.3 b/man3/regex.3 index bd0026611..8da0ead59 100644 --- a/man3/regex.3 +++ b/man3/regex.3 @@ -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