Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@xxxxxxxxxxxxxxxxxx> --- man3/regex.3 | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/man3/regex.3 b/man3/regex.3 index ca0ab83df..66d9c6596 100644 --- a/man3/regex.3 +++ b/man3/regex.3 @@ -96,16 +96,14 @@ .SS Compilation 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 +Only report overall success: .BR regexec () -arguments will be ignored for this purpose (but +will only use .I pmatch -may still be used for -.BR REG_STARTEND ). +for +.BR REG_STARTEND , +and ignore +.IR nmatch . .TP .B REG_NEWLINE Match-any-character operators don't match a newline. -- 2.30.2
Attachment:
signature.asc
Description: PGP signature