summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/regex')
-rw-r--r--lib/libc/regex/re_format.72
-rw-r--r--lib/libc/regex/regex.34
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/regex/re_format.7 b/lib/libc/regex/re_format.7
index 58e05e0..d4555a0 100644
--- a/lib/libc/regex/re_format.7
+++ b/lib/libc/regex/re_format.7
@@ -232,7 +232,7 @@ sequence of characters of that collating element.
The sequence is a single element of the bracket expression's list.
A bracket expression containing a multi-character collating element
can thus match more than one character,
-e.g. if the collating sequence includes a
+e.g.\& if the collating sequence includes a
.Ql ch
collating element,
then the RE
diff --git a/lib/libc/regex/regex.3 b/lib/libc/regex/regex.3
index 68edd7f..a267dcc 100644
--- a/lib/libc/regex/regex.3
+++ b/lib/libc/regex/regex.3
@@ -564,7 +564,7 @@ or
.Ql |\&
cannot appear first or last in a (sub)expression or after another
.Ql |\& ,
-i.e. an operand of
+i.e., an operand of
.Ql |\&
cannot be an empty subexpression.
An empty parenthesized subexpression,
@@ -651,7 +651,7 @@ empty (sub)expression
.It Dv REG_ASSERT
can't happen - you found a bug
.It Dv REG_INVARG
-invalid argument, e.g. negative-length string
+invalid argument, e.g.\& negative-length string
.El
.Sh HISTORY
Originally written by
OpenPOWER on IntegriCloud