Module Name: src Committed By: uwe Date: Sun Dec 4 16:52:49 UTC 2022
Modified Files: src/lib/libc/regex: re_format.7 Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/lib/libc/regex/re_format.7 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/regex/re_format.7 diff -u src/lib/libc/regex/re_format.7:1.15 src/lib/libc/regex/re_format.7:1.16 --- src/lib/libc/regex/re_format.7:1.15 Sun Aug 28 12:59:50 2022 +++ src/lib/libc/regex/re_format.7 Sun Dec 4 16:52:48 2022 @@ -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 @@ leaves some aspects of RE syntax and sem 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 @@ Programs intended to be portable should 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.