diff options
Diffstat (limited to 'man3/regex.3')
| -rw-r--r-- | man3/regex.3 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/man3/regex.3 b/man3/regex.3 index 707541b76f..2506a23c4f 100644 --- a/man3/regex.3 +++ b/man3/regex.3 @@ -50,7 +50,8 @@ regcomp, regexec, regerror, regfree \- POSIX regex functions .BI "size_t " errbuf_size ); .xx \w'\fBvoid\ regfree(\fR' .BI "void\ regfree(regex_t *" preg ); -.SH "POSIX REGEX COMPILING" +.SH DESCRIPTION +.SS "POSIX Regex Compiling" .BR regcomp () is used to compile a regular expression into a form that is suitable for subsequent @@ -127,7 +128,7 @@ whether .IR eflags contains .BR REG_NOTEOL . -.SH "POSIX REGEX MATCHING" +.SS "POSIX Regex Matching" .BR regexec () is used to match a null-terminated string against the precompiled pattern buffer, @@ -201,7 +202,7 @@ substring match within the string. The relative .I rm_eo element indicates the end offset of the match. -.SH "POSIX ERROR REPORTING" +.SS "Posix Error Reporting" .BR regerror () is used to turn the error codes that can be returned by both .BR regcomp () @@ -230,7 +231,7 @@ are non-zero, is filled in with the first .I "errbuf_size \- 1" characters of the error message and a terminating null. -.SH "POSIX PATTERN BUFFER FREEING" +.SS "POSIX Pattern Buffer Freeing" Supplying .BR regfree () with a precompiled pattern buffer, |
