From: наб Date: Fri, 21 Apr 2023 02:49:11 +0000 (+0200) Subject: regex.3: Further clarify the sole purpose of REG_NOSUB X-Git-Tag: man-pages-6.05~150 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=418ef65efaf5ec73eb54022c6661ca9696a62d0c;p=thirdparty%2Fman-pages.git regex.3: Further clarify the sole purpose of REG_NOSUB Link: Signed-off-by: Ahelenia Ziemiańska Signed-off-by: Alejandro Colomar --- diff --git a/man3/regex.3 b/man3/regex.3 index 702a7645ca..a5a8e02604 100644 --- a/man3/regex.3 +++ b/man3/regex.3 @@ -96,16 +96,14 @@ Subsequent searches using this pattern buffer will be case insensitive. .TP .B REG_NOSUB -Do not report position of matches. -The -.I nmatch -and -.I pmatch +Report only overall success. .BR regexec () -arguments will be ignored for this purpose (but +will use only .I pmatch -may still be used for -.BR REG_STARTEND ). +for +.BR REG_STARTEND , +ignoring +.IR nmatch . .TP .B REG_NEWLINE Match-any-character operators don't match a newline.