Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@xxxxxxxxxxxxxxxxxx> --- Missed the .Sx Byte offsets. man3/regex.3 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/man3/regex.3 b/man3/regex.3 index 9bb4a73ff..552763940 100644 --- a/man3/regex.3 +++ b/man3/regex.3 @@ -45,7 +45,7 @@ size_t " errbuf_size ); .BR typedef " /* ... */ " regoff_t; .EE .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 @@ -131,7 +131,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 compiled pattern buffer in @@ -179,13 +179,13 @@ the match succeeded, and > 0), they overwrite .I pmatch as usual, and the -.B Byte offsets +.B Match offsets remain relative to .IR string (not .IR string " + " pmatch->rm_so ). This flag is a BSD extension, not present in POSIX. -.SS Byte offsets +.SS Match offsets Unless .B REG_NOSUB was passed to @@ -224,7 +224,7 @@ capable of storing the largest value that can be stored in either an type or a .I ssize_t type. -.SS POSIX error reporting +.SS Error reporting .BR regerror () is used to turn the error codes that can be returned by both .BR regcomp () @@ -249,7 +249,7 @@ Otherwise, up to bytes are copied to .IR errbuf ; the error string is always null-terminated, and truncated to fit. -.SS POSIX pattern buffer freeing +.SS Freeing .BR regfree () invalidates the pattern buffer at .IR *preg , -- 2.30.2
Attachment:
signature.asc
Description: PGP signature