summaryrefslogtreecommitdiffstats
path: root/man3/regex.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/regex.3')
-rw-r--r--man3/regex.314
1 files changed, 6 insertions, 8 deletions
diff --git a/man3/regex.3 b/man3/regex.3
index 702a7645c..a5a8e0260 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.