diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-06-08 11:56:22 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-06-08 11:56:22 +0000 |
| commit | 75b94dc35ca88fc72d0381c72c535180851bf08f (patch) | |
| tree | 107dfea45855463eaa970ccff1b6074c305ac09a /man7/regex.7 | |
| parent | ca7b3c180c14583f36bf24c7f31cc8ba342e23d8 (diff) | |
| download | man-pages-75b94dc35ca88fc72d0381c72c535180851bf08f.tar.gz | |
Change "e.g. " to "e.g., ", or in some cases, "for example, ".
Change "i.e. " to i.e.., ", or in some cases, "that is, ".
Diffstat (limited to 'man7/regex.7')
| -rw-r--r-- | man7/regex.7 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/man7/regex.7 b/man7/regex.7 index 6c9ea612e7..77f04f8538 100644 --- a/man7/regex.7 +++ b/man7/regex.7 @@ -104,9 +104,9 @@ it matches any single character If two characters in the list are separated by `\-', this is shorthand for the full \fIrange\fR of characters between those two (inclusive) in the collating sequence, -e.g. `[0\-9]' in ASCII matches any decimal digit. +for example, `[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, for example, `a-c-e'. Ranges are very collating-sequence-dependent, and portable programs should avoid relying on them. .PP @@ -128,7 +128,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, +for example, if the collating sequence includes a `ch' collating element, then the RE `[[.ch.]]*c' matches the first five characters of `chchcc'. .PP @@ -209,9 +209,9 @@ 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]'. +for example, `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]' +of it are added to the bracket expression, so that, for example, `[x]' becomes `[xX]' and `[^x]' becomes `[^xX]'. .PP No particular limit is imposed on the length of REs\*(dg. @@ -240,7 +240,7 @@ matches the same sequence of characters matched by the \fId\fRth parenthesized subexpression (numbering subexpressions by the positions of their opening parentheses, left to right), -so that (e.g.) `\e([bc]\e)\e1' matches `bb' or `cc' but not `bc'. +so that, for example, `\e([bc]\e)\e1' matches `bb' or `cc' but not `bc'. .SH BUGS Having two kinds of REs is a botch. .PP |
