Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 2020 03:23:10 GMT
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 90dbd2a623c3 - stable/12 - regex(3): belatedly document REG_POSIX from r363734
Message-ID:  <202012280323.0BS3NApl092390@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by kevans:

URL: https://cgit.FreeBSD.org/src/commit/?id=90dbd2a623c345ad66228c48b5bf2e901bdb6c61

commit 90dbd2a623c345ad66228c48b5bf2e901bdb6c61
Author:     Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2020-08-04 02:06:49 +0000
Commit:     Kyle Evans <kevans@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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012280323.0BS3NApl092390>