summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex
diff options
context:
space:
mode:
authorbentley <bentley@openbsd.org>2015-02-28 21:51:56 +0000
committerbentley <bentley@openbsd.org>2015-02-28 21:51:56 +0000
commit9dbd696514ef94fc24ee622023bb055d94c78640 (patch)
treecc83a924c252f976523f2306273efaa262692a9c /lib/libc/regex
parentMove consinit() out of the bowels of the zs driver to its own file, in (diff)
downloadwireguard-openbsd-9dbd696514ef94fc24ee622023bb055d94c78640.tar.xz
wireguard-openbsd-9dbd696514ef94fc24ee622023bb055d94c78640.zip
Reduce usage of predefined strings in manpages.
Predefined strings are not very portable across troff implementations, and they make the source much harder to read. Usually the intended character can be written directly. No output changes, except for two instances where the incorrect escape was used in the first place. tweaks + ok schwarze@
Diffstat (limited to 'lib/libc/regex')
-rw-r--r--lib/libc/regex/re_format.712
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/regex/re_format.7 b/lib/libc/regex/re_format.7
index 0d8ce59a8b8..36f0942715f 100644
--- a/lib/libc/regex/re_format.7
+++ b/lib/libc/regex/re_format.7
@@ -1,4 +1,4 @@
-.\" $OpenBSD: re_format.7,v 1.20 2014/12/09 15:37:14 schwarze Exp $
+.\" $OpenBSD: re_format.7,v 1.21 2015/02/28 21:51:57 bentley Exp $
.\"
.\" Copyright (c) 1997, Phillip F Knaack. All rights reserved.
.\"
@@ -35,7 +35,7 @@
.\"
.\" @(#)re_format.7 8.3 (Berkeley) 3/20/94
.\"
-.Dd $Mdocdate: December 9 2014 $
+.Dd $Mdocdate: February 28 2015 $
.Dt RE_FORMAT 7
.Os
.Sh NAME
@@ -77,7 +77,7 @@ and then discusses differences between them and basic regular expressions.
An ERE is one** or more non-empty**
.Em branches ,
separated by
-.Sq \*(Ba .
+.Sq | .
It matches anything that matches one of the branches.
.Pp
A branch is one** or more
@@ -510,11 +510,11 @@ times.
If the comma is also omitted, then it matches exactly
.Ar n
times.
-.It \*(Ba
+.It |
Used to separate patterns.
For example,
the pattern
-.Sq cat\*(Badog
+.Sq cat|dog
matches either
.Sq cat
or
@@ -524,7 +524,7 @@ or
Basic regular expressions differ in several respects:
.Bl -bullet -offset 3n
.It
-.Sq \*(Ba ,
+.Sq | ,
.Sq + ,
and
.Sq ?\&