diff options
Diffstat (limited to 'man3/regex.3')
-rw-r--r-- | man3/regex.3 | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/man3/regex.3 b/man3/regex.3 index 0aa2fb02..399e6c0a 100644 --- a/man3/regex.3 +++ b/man3/regex.3 @@ -33,23 +33,21 @@ .SH NAME regcomp, regexec, regerror, regfree \- POSIX regex functions .SH SYNOPSIS +.nf .B #include <sys/types.h> -.br .B #include <regex.h> -.sp -.xx \w'\fBint\ regcomp(\fR'u -.BI "int\ regcomp(regex_t *" preg ", const char *" regex , -.BI "int " cflags ); -.xx \w'\fBint\ regexec(\fR'u -.BI "int\ regexec(const regex_t *" preg ", const char *" string , -.BI "size_t " nmatch ", regmatch_t " pmatch[] , -.BI "int " eflags ); -.xx \w'\fBsize_t\ regerror(\fR'u -.BI "size_t\ regerror(int " errcode , -.BI "const regex_t *" preg ", char *" errbuf , -.BI "size_t " errbuf_size ); -.xx \w'\fBvoid\ regfree(\fR' -.BI "void\ regfree(regex_t *" preg ); + +.BI "int regcomp(regex_t *" preg ", const char *" regex ", int " cflags ); + +.BI "int regexec(const regex_t *" preg ", const char *" string \ +", size_t " nmatch , +.BI " regmatch_t " pmatch[] ", int " eflags ); + +.BI "size_t regerror(int " errcode ", const regex_t *" preg ", char *" errbuf , +.BI " size_t " errbuf_size ); + +.BI "void regfree(regex_t *" preg ); +.fi .SH DESCRIPTION .SS "POSIX Regex Compiling" .BR regcomp () |