Language Sensitive Editor SEARCH — VMS LSE_3.0
Searches the current buffer for the specified string and positions
the cursor at that string.
Format
SEARCH search-string
Additional information available:
Qualifiers
Additional information available:
/DIALOG
/DIALOG
/NODIALOG (D)
Instructs LSE to use a dialog box to prompt the user for
parameters and qualifier values. The command parameters are
optional if you specify this qualifier. If you supply command
parameters and qualifiers with the /DIALOG qualifier, these
parameters and qualifiers are used to set the initial state of
the dialog box.
LSE ignores the /DIALOG qualifier if you are using a character-
cell terminal.
/PATTERN
/PATTERN
/NOPATTERN (D)
Enables or disables special interpretation of wildcard characters
and a quote character in the search-string parameter. You can set
the syntax for specifying a pattern to the VMS style or ULTRIX
style.
VMS-Style Wildcards
Wildcard Matches
* One or more characters of any kind on a line.
** One or more characters of any kind crossing lines.
% A single character.
\< Beginning of a line.
\> End of a line.
\[set-of- Any character in the specified set. For example,
characters] \[abc] matches any letter in the set "abc" and
\[c-t] matches any letter in the set "c" through
"t."
\[~set-of- Anything not in the specified set of characters.
characters]
\ Lets you specify the characters \,*,% or ] within
wildcard expressions. For example, \\ matches the
backslash character (\).
\. Repeats the previous pattern zero or more times,
including the original.
\: Repeats the previous pattern at least once,
including the original; that is, a null occurrence
does not match.
\w Any empty space created by the space bar or tab
stops, including no more than one line break.
\d Any decimal digit.
\o Any octal digit.
\x Any hexadecimal digit.
\a Any alphabetic character, including accented
letters, other marked letters, and non-English
letters.
\n Any alphanumeric character.
\s Any character that can be used in a symbol:
alphanumeric, dollar sign, and underscore.
\l Any lowercase letter.
\u Any uppercase letter.
\p Any punctuation character.
\f Any formatting characters: backspace, tab, line
feed, vertical tab, form feed, and carriage return.
\^ Any control character.
\+ Any character with bit 7 set; that is, ASCII decimal
values from 128 through 255.
ULTRIX-Style Wildcards
Wildcard Matches
. A single character.
^ Beginning of a line.
$ End of a line.
[set-of- Any character in the specified set. For example,
characters] [abc] matches any letter in the set "abc" and [c-t]
matches any letter in the set "c" through "t."
[^set-of- Anything not in the specified set of characters.
characters]
\ Lets you specify the characters \,.,^,$,[,],or * in
wildcard expressions. For example, \\ matches the
backslash character (\).
* Repeats the previous pattern zero or more times,
including the original.
+ Repeats the previous pattern at least once,
including the original; that is, a null occurrence
does not match.
When you specify the /NOPATTERN qualifier (or when it is the
default), special interpretation of the asterisk, percent sign,
and backslash characters is disabled.
Parameter
search-string Specifies a quoted string indicating the string to search for. If you are using the DECwindows interface and specify the /DIALOG qualifier, the search string field in the Find dialog box takes the default value from the the previous search string, if any.