Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/regex re_format(7): Add subsection headings for ERE...



details:   https://anonhg.NetBSD.org/src/rev/f1bb0f38112b
branches:  trunk
changeset: 372520:f1bb0f38112b
user:      uwe <uwe%NetBSD.org@localhost>
date:      Sun Dec 04 16:52:48 2022 +0000

description:
re_format(7): Add subsection headings for ERE and BRE

The first paragraph could use some rewording.  While BRE may be
obsolete, it's still the default for regcomp(3) and the default for
grep(1), sed(1), etc.

diffstat:

 lib/libc/regex/re_format.7 |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 6fd60f59a0a0 -r f1bb0f38112b lib/libc/regex/re_format.7
--- a/lib/libc/regex/re_format.7        Sun Dec 04 16:29:35 2022 +0000
+++ b/lib/libc/regex/re_format.7        Sun Dec 04 16:52:48 2022 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: re_format.7,v 1.15 2022/08/28 12:59:50 uwe Exp $
+.\" $NetBSD: re_format.7,v 1.16 2022/12/04 16:52:48 uwe Exp $
 .\"
 .\" Copyright (c) 1992, 1993, 1994 Henry Spencer.
 .\" Copyright (c) 1992, 1993, 1994
@@ -69,7 +69,7 @@
 may not be fully portable to other
 .St -p1003.2
 implementations.
-.Pp
+.Ss Extended regular expressions
 A (modern) RE is one\*(DG or more non-empty\*(DG
 .Em branches ,
 separated by
@@ -383,7 +383,7 @@
 than 256 bytes,
 as an implementation can refuse to accept such REs and remain
 POSIX-compliant.
-.Pp
+.Ss Basic regular expressions
 Obsolete
 .Pq Dq basic
 regular expressions differ in several respects.



Home | Main Index | Thread Index | Old Index