From: schwarze Date: Sat, 6 Aug 2022 11:05:23 +0000 (+0000) Subject: Delete the ridiculous first three sentences of BUGS X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1e49e6c5a9be26f31f05611ea3d71de04f68bf85;p=openbsd Delete the ridiculous first three sentences of BUGS and fix some minor markup nits: get rid of useless .Tn macros and add one missing .Fn macro. No objection from jsg@. --- diff --git a/lib/libc/regex/regex.3 b/lib/libc/regex/regex.3 index 294a6d88251..f2cc3c8abc9 100644 --- a/lib/libc/regex/regex.3 +++ b/lib/libc/regex/regex.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: regex.3,v 1.27 2016/05/26 05:46:44 martijn Exp $ +.\" $OpenBSD: regex.3,v 1.28 2022/08/06 11:05:23 schwarze Exp $ .\" .\" Copyright (c) 1997, Phillip F Knaack. All rights reserved. .\" @@ -35,7 +35,7 @@ .\" .\" @(#)regex.3 8.4 (Berkeley) 3/20/94 .\" -.Dd $Mdocdate: May 26 2016 $ +.Dd $Mdocdate: August 6 2022 $ .Dt REGEXEC 3 .Os .Sh NAME @@ -102,9 +102,7 @@ structure pointed to by .Fa preg . The .Fa cflags -argument is the bitwise -.Tn OR -of zero or more of the following values: +argument is the bitwise OR of zero or more of the following values: .Bl -tag -width XREG_EXTENDEDX .It Dv REG_EXTENDED Compile modern @@ -220,9 +218,7 @@ is considered to be the text of an entire line, minus any terminating newline. The .Fa eflags -argument is the bitwise -.Tn OR -of zero or more of the following values: +argument is the bitwise OR of zero or more of the following values: .Bl -tag -width XREG_STARTENDX .It Dv REG_NOTBOL The first character of the string is treated as the continuation @@ -452,9 +448,7 @@ If the .Fa errcode given to .Fn regerror -is first -.Tn OR Ns 'ed -with +is first OR'ed with .Dv REG_ITOA , the .Dq message @@ -589,7 +583,8 @@ include the following: .Pp .Bl -tag -compact -width XREG_ECOLLATEX .It Er REG_NOMATCH -regexec() failed to match +.Fn regexec +failed to match .It Er REG_BADPAT invalid regular expression .It Er REG_ECOLLATE @@ -645,10 +640,6 @@ and altered for inclusion in the .Bx 4.4 distribution. .Sh BUGS -This is an alpha release with known defects. -Please report problems. -.Pp -There is one known functionality bug. The implementation of internationalization is incomplete: the locale is always assumed to be the default one of .St -p1003.2 ,