aboutsummaryrefslogtreecommitdiffstats
path: root/man/man3/regex.3
diff options
context:
space:
mode:
authorDirk Gouders <dirk@gouders.net>2024-08-13 20:49:51 +0200
committerAlejandro Colomar <alx@kernel.org>2024-08-21 23:51:04 +0200
commit88913d754ea30313f5bdc92c79f576a4f098a611 (patch)
tree98f3fecdd267dfa10f7a2d20c0921c51f486e8e4 /man/man3/regex.3
parentb0f3fa67b5a48ef494d766b357d4c4c0b1870dca (diff)
downloadman-pages-88913d754ea30313f5bdc92c79f576a4f098a611.tar.gz
regex.3: *preg is initialized with regcomp(), not regexec()
Fixes: 1838a55edd6c47cb ("regex.3: Desoupify regexec() description") Signed-off-by: Dirk Gouders <dirk@gouders.net> Message-ID: <20240813185011.3806-1-dirk@gouders.net> Reviewed-by: наб <nabijaczleweli@nabijaczleweli.xyz> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man3/regex.3')
-rw-r--r--man/man3/regex.32
1 files changed, 1 insertions, 1 deletions
diff --git a/man/man3/regex.3 b/man/man3/regex.3
index d49bcd4650..3069489cbd 100644
--- a/man/man3/regex.3
+++ b/man/man3/regex.3
@@ -135,7 +135,7 @@ is used to match a null-terminated string
against the compiled pattern buffer in
.IR *preg ,
which must have been initialised with
-.BR regexec ().
+.BR regcomp ().
.I eflags
is the
bitwise OR