diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-03-14 21:31:47 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-03-14 21:31:47 +0000 |
commit | 6cded4a3fdac7f3bf862d8b64ad4c758b3e691eb (patch) | |
tree | 37f96844351314fcf72a22d1983488b1640677e9 /lib/libc/regex | |
parent | cda8ef6eceac8f14e649f7944e79a7fa5105d00b (diff) |
Suffix "i.e." and "e.g." with a comma. Just another really picky man page
commit, as we want our documentation to be as consistently formatted as
possible (it's getting there :-)).
Diffstat (limited to 'lib/libc/regex')
-rw-r--r-- | lib/libc/regex/re_format.7 | 10 | ||||
-rw-r--r-- | lib/libc/regex/regex.3 | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/regex/re_format.7 b/lib/libc/regex/re_format.7 index 3f2ff55ab09..baf243d7cfa 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.7 1999/07/09 13:35:22 aaron Exp $ +.\" $OpenBSD: re_format.7,v 1.8 2000/03/14 21:31:45 aaron Exp $ .\" .\" Copyright (c) 1997, Phillip F Knaack. All rights reserved. .\" @@ -130,9 +130,9 @@ for the full .Em range of characters between those two (inclusive) in the collating sequence, -e.g. `[0-9]' in ASCII matches any decimal digit. +e.g., `[0-9]' in ASCII matches any decimal digit. It is illegal\(dg for two ranges to share an -endpoint, e.g. `a-c-e'. +endpoint, e.g., `a-c-e'. Ranges are very collating-sequence-dependent, and portable programs should avoid relying on them. .Pp @@ -154,7 +154,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 `ch' collating element, +e.g., if the collating sequence includes a `ch' collating element, then the RE `[[.ch.]]*c' matches the first five characters of `chchcc'. .Pp @@ -236,7 +236,7 @@ alphabet. When an alphabetic that exists in multiple cases appears as an ordinary character outside a bracket expression, it is effectively transformed into a bracket expression containing both cases, -e.g. `x' becomes `[xX]'. +e.g., `x' becomes `[xX]'. When it appears inside a bracket expression, all case counterparts of it are added to the bracket expression, so that (e.g.) `[x]' becomes `[xX]' and `[^x]' becomes `[^xX]'. diff --git a/lib/libc/regex/regex.3 b/lib/libc/regex/regex.3 index 589f970102f..f4917464776 100644 --- a/lib/libc/regex/regex.3 +++ b/lib/libc/regex/regex.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: regex.3,v 1.12 2000/03/06 21:46:56 aaron Exp $ +.\" $OpenBSD: regex.3,v 1.13 2000/03/14 21:31:45 aaron Exp $ .\" .\" Copyright (c) 1997, Phillip F Knaack. All rights reserved. .\" @@ -593,7 +593,7 @@ empty (sub)expression .Dq can't happen \(emyou found a bug .It Er REG_INVARG -invalid argument, e.g. negative-length string +invalid argument, e.g., negative-length string .El .Sh HISTORY Originally written by Henry Spencer. |