From 1838a55edd6c47cbbc469b098fa1bd0fd1a5db1c Mon Sep 17 00:00:00 2001 From: наб Date: Thu, 20 Apr 2023 21:36:53 +0200 Subject: regex.3: Desoupify regexec() description MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ahelenia Ziemiańska Signed-off-by: Alejandro Colomar --- man3/regex.3 | 10 ++++------ 1 file 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 -- cgit v1.2.3