From d293b1c18fca05c65208680cc21b9018fa0506dd Mon Sep 17 00:00:00 2001 From: наб Date: Thu, 20 Apr 2023 15:02:07 +0200 Subject: regex.3: Fix subsection headings 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, 5 insertions(+), 5 deletions(-) diff --git a/man3/regex.3 b/man3/regex.3 index 4f9c68b83..129c42412 100644 --- a/man3/regex.3 +++ b/man3/regex.3 @@ -31,7 +31,7 @@ size_t " errbuf_size ); .BI "void regfree(regex_t *" preg ); .fi .SH DESCRIPTION -.SS POSIX regex compiling +.SS Compilation .BR regcomp () is used to compile a regular expression into a form that is suitable for subsequent @@ -110,7 +110,7 @@ whether .I eflags contains .BR REG_NOTEOL . -.SS POSIX regex matching +.SS Matching .BR regexec () is used to match a null-terminated string against the precompiled pattern buffer, @@ -159,7 +159,7 @@ or .B REG_NEWLINE processing. This flag is a BSD extension, not present in POSIX. -.SS Byte offsets +.SS Match offsets Unless .B REG_NOSUB was set for the compilation of the pattern buffer, it is possible to @@ -209,7 +209,7 @@ The relative .I rm_eo element indicates the end offset of the match, which is the offset of the first character after the matching text. -.SS POSIX error reporting +.SS Error reporting .BR regerror () is used to turn the error codes that can be returned by both .BR regcomp () @@ -238,7 +238,7 @@ are nonzero, is filled in with the first .I "errbuf_size \- 1" characters of the error message and a terminating null byte (\[aq]\e0\[aq]). -.SS POSIX pattern buffer freeing +.SS Freeing Supplying .BR regfree () with a precompiled pattern buffer, -- cgit v1.2.3