summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorнаб <nabijaczleweli@nabijaczleweli.xyz>2023-04-20 21:36:53 +0200
committerAlejandro Colomar <alx@kernel.org>2023-04-21 02:46:50 +0200
commit1838a55edd6c47cbbc469b098fa1bd0fd1a5db1c (patch)
treede127c63f0b2b32cd698e8b981b43e2a44fa4193
parent0100a2b36e5f901f8befa792619285ddbf98ef51 (diff)
regex.3: Desoupify regexec() description
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man3/regex.310
1 files changed, 4 insertions, 6 deletions
diff --git a/man3/regex.3 b/man3/regex.3
index bedb97e87..47fe661d2 100644
--- a/man3/regex.3
+++ b/man3/regex.3
@@ -105,12 +105,10 @@ contains
.SS Matching
.BR regexec ()
is used to match a null-terminated string
-against the precompiled pattern buffer,
-.IR preg .
-.I nmatch
-and
-.I pmatch
-are used to provide information regarding the location of any matches.
+against the compiled pattern buffer in
+.IR *preg ,
+which must have been initialised with
+.BR regexec ().
.I eflags
is the
bitwise OR