WILDCARD FIND
Searches for a pattern of text by using wildcards (sometimes called "meta-
characters"), and highlights the found text.
You can use VMS- or ULTRIX-style wildcards, depending on your setting.
Default is SET WILDCARD VMS. For a list of the available wildcards, use
SHOW WILDCARDS.
Key: EVE defines GOLD-FIND on the mini keypad as WILDCARD FIND.
Steps:
1. Use WILDCARD FIND or press GOLD-FIND.
2. Type the pattern you want to find (see examples below).
Examples (mainly VMS-style wildcards):
Pattern Matches...
---------------------------------------------------------------------
b%t B or b, followed by any single character and a T or t, as
in "batter," "bite," "butter," "rabbit," and "robot." The
percent sign (%) matches any single character on a line
ULTRIX equivalent is the period---for example, b.t.
b*t B or b, followed by any number of characters and a T or
t, as in "blast," "bright," "be true," and "by the," or
the strings found by b%t. The asterisk (*) matches any
number of characters on a line.
b\[aeiou]t B or b, followed by a vowel and a T or t, as in "batch,"
"better," "rabbit," "robot," and "butter." The backslash
and square brackets match any character in the bracketed
set. ULTRIX equivalent is the square brackets only---for
example, b[aeiou]t.
August**31 "August 31" separated by any amount of text or whitespace
(tabs, spaces, line breaks). Two asterisks (**) match
any number of characters crossing line breaks.
August\>31 "August" at the end of a line followed by "31" at the
start of the next line. The backslash and right angle
bracket (\>) match end-of-line; backslash and left angle
bracket (\<) match start-of-line. ULTRIX equivalents are
the circumflex (^) for start-of-line and the dollar sign
($) for end-of-line---for example, August$31.
1\D\% Strings like "12%" or "10%." The backslash and D match
any decimal digit; the backslash and percent (\%) match
an actual percent sign.
Usage notes:
o If an occurrence is found, EVE puts the cursor at start of the found
text and highlights the found text in bold video.
o If there is no occurrence in that direction, EVE automatically searches
in the other direction. If there is an occurrence in that direction,
EVE asks if you want to go there---press RETURN for Yes, or type No and
press RETURN.
o To edit the found text, use a command or key that works on a range or
box, such as COPY, BOX CUT, FILL, REMOVE, or UPPERCASE (see help on
Ranges And Boxes). If you used SET BOX SELECT, an editing operation on
a found range uses the start and end of the range as diagonally
opposite corners of a box.
o To cancel the highlighting, move the cursor out of the found range, or
use RESET (GOLD-SELECT).
o To find another occurrence of the same string, use FIND NEXT or press
the FIND key twice.
o Case sensitivity is usually the same as with FIND. To make the search
case-exact, particularly to find lowercase occurrences only, use SET
FIND CASE EXACT. Some wildcards make the search case sensitive---for
example, with VMS wildcards, \L (for a lowercase letter), \U (for an
uppercase letter), or \[A-Z] (for a set of uppercase letters).
o Whitespace sensitivity is usually the same as with FIND. To make the
search treat spaces, tabs, or a line break as whitespace, use SET FIND
WHITESPACE. Some wildcards affect how the search treats whitespace---
for example, with VMS wildcards, ** (any amount of text, crossing
lines) or or \W (for whitespace).
o You can use a direction-setting key as a terminator key for WILDCARD
FIND to make the search begin in a particular direction:
1. Use WILDCARD FIND, letting EVE prompt you for the search string.
2. Type the search string, and then press a direction-setting key
---for example, with the EDT keypad, press KP5 for REVERSE.
If you press RETURN instead, the search starts in the current direction
of the buffer (shown in the status line).
o GOLD-FIND is a "sleeper" key---it is defined by default, but the
definition must be activated by setting a GOLD key or by setting the
EDT or WPS keypad. See help on Gold Keys.
Related topics:
Ranges And Boxes CHANGE DIRECTION FIND NEXT
RESET SET FIND CASE EXACT SET FIND WHITESPACE
SET WILDCARD ULTRIX SET WILDCARD VMS SHOW WILDCARDS