git: 90dbd2a623c3 - stable/12 - regex(3): belatedly document REG_POSIX from r363734
Kyle Evans
kevans at FreeBSD.org
Mon Dec 28 03:23:11 UTC 2020
The branch stable/12 has been updated by kevans:
URL: https://cgit.FreeBSD.org/src/commit/?id=90dbd2a623c345ad66228c48b5bf2e901bdb6c61
commit 90dbd2a623c345ad66228c48b5bf2e901bdb6c61
Author: Kyle Evans <kevans at FreeBSD.org>
AuthorDate: 2020-08-04 02:06:49 +0000
Commit: Kyle Evans <kevans at FreeBSD.org>
CommitDate: 2020-12-28 03:23:04 +0000
regex(3): belatedly document REG_POSIX from r363734
My original patch included this documented, but it appears that I failed to
include the manpage update. Do so now.
(cherry picked from commit ba8b64de05d0df84ad9064be950ca38bc7bafe7d)
---
lib/libc/regex/regex.3 | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/lib/libc/regex/regex.3 b/lib/libc/regex/regex.3
index 8959272e9891..d22dec1e87f7 100644
--- a/lib/libc/regex/regex.3
+++ b/lib/libc/regex/regex.3
@@ -32,7 +32,7 @@
.\" @(#)regex.3 8.4 (Berkeley) 3/20/94
.\" $FreeBSD$
.\"
-.Dd May 25, 2016
+.Dd April 15, 2017
.Dt REGEX 3
.Os
.Sh NAME
@@ -183,6 +183,17 @@ compatible with but not specified by
.St -p1003.2 ,
and should be used with
caution in software intended to be portable to other systems.
+.It Dv REG_POSIX
+Compile only
+.St -p1003.2
+compliant expressions.
+This flag has no effect unless linking against
+.Nm libregex .
+This is an extension,
+compatible with but not specified by
+.St -p1003.2 ,
+and should be used with
+caution in software intended to be portable to other systems.
.El
.Pp
When successful,
More information about the dev-commits-src-all
mailing list