]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
regex.3: Desoupify regexec() description
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Thu, 20 Apr 2023 19:36:53 +0000 (21:36 +0200)
committerAlejandro Colomar <alx@kernel.org>
Fri, 21 Apr 2023 00:46:50 +0000 (02:46 +0200)
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man3/regex.3

index bedb97e877f58e54f4913026c746d488ecabcee8..47fe661d2db2726778eb7572cfdc2ff9c7274e1c 100644 (file)
@@ -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