PS TEXT EDIT Reference Manual
PATTERNS
TEDIT Topics
2–34 058059 Tandem Computers Incorporated
Table 2-2. Wild Cards for Patterns (continued)
Wild Card Definition
* Matches zero or any number of occurrences of the preceding pattern in
text. For example:
[ab]* — matches any number of lowercase ab’s, including none
\I Matches any uppercase or lowercase letter or any whole number from 0-9.
For example:
3\I — matches any number 3 followed by a letter or number
\S Matches any special character (a printable ASCII character), not a letter or
number. For example:
\N. \S\S\A — matches any numeric followed by two special
characters (in this case two blank spaces) and a
letter
\A Matches any alphabetic character (uppercase letter or lowercase letter).
For example:
\S\A — matches any lowercase or uppercase “a”
\U Matches any single uppercase letter.
\L Matches any single lowercase letter.
\N Matches any single digit, 0-9.