From: Alejandro Colomar Date: Sun, 11 Oct 2020 11:15:25 +0000 (+0200) Subject: system_data_types.7: Add 'regex_t' X-Git-Tag: man-pages-5.09~174 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adbc303656b51dc0df59bcb01262cb56c55a7f49;p=thirdparty%2Fman-pages.git system_data_types.7: Add 'regex_t' Signed-off-by: Alejandro Colomar Signed-off-by: Michael Kerrisk --- diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 index a4a2e0ab87..8a894b2e0e 100644 --- a/man7/system_data_types.7 +++ b/man7/system_data_types.7 @@ -786,6 +786,29 @@ and .I ssize_t types in this page. .RE +.\"------------------------------------- regex_t ----------------------/ +.TP +.I regex_t +.RS +Include: +.IR . +.PP +.EX +typedef struct { + size_t re_nsub; /* Number of parenthesized subexpressions. */ +} regex_t; +.EE +.PP +This is a structure type used in regular expression matching. +It holds a compiled regular expression, compiled with +.IR regcomp (3). +.PP +Conforming to: +POSIX.1-2001 and later. +.PP +See also: +.BR regex (3) +.RE .\"------------------------------------- regmatch_t -------------------/ .TP .I regmatch_t