LSE$KEYPAD.HLB  —  PATTERN_SEARCH
  Wildcard Find

  Searches for a pattern of text by using wildcards, and highlights the
  found text.  You can use ULTRIX or OpenVMS wildcards.  (The examples that
  follow are mainly for OpenVMS, which is the default.)  For a list of
  wildcards, use the SHOW WILDCARD command.

  Steps:

     1.  Use the SEARCH/PATTERN command.

     2.  Type the pattern you want to find.  (See the examples that follow).

     3.  If you are using the menu item, click on OK in the dialog box to
         start the search in the current direction of the buffer.  If you
         typed the command or pressed the key, press the Return key to start the
         search in the current direction, or press a direction-setting key.

     4.  To find another occurrence of the same string, press the Find Next
         key.

  Examples:

     b%t             Finds a B or b, followed by any single character and a
     (OpenVMS)       T or t, as in "batter," "bite," "butter," "rabbit," and
                     "robot." The percent sign (%) matches any single
                     character on a line.  The ULTRIX equivalent is the
                     period (for example, b.t).

     b*t             Finds a 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.  An asterisk
                     (*) matches any number of characters on a line.

     b\[aeiou]t      Finds a B or b, followed by a vowel and a T or t, as in
     (OpenVMS)       "batch," "better," "rabbit," "robot," and "butter." The
                     backslash and square brackets match any character in
                     the bracketed set.  The ULTRIX equivalent is the square
                     brackets only (for example, b[aeiou]t).

     August**31      Finds "August 31" separated by any amount of text or
                     whitespace (tabs, spaces, line breaks).  The two
                     asterisks (**) match any number of characters crossing
                     line breaks.

     August\>\<31    Finds "August" at the end of a line followed by "31" at
     (OpenVMS)       the start of the next line.  A backslash and right
                     angle bracket (\>) match end-of-line; backslash and
                     left angle bracket (\<) match start-of-line.  The
                     ULTRIX equivalent is the dollar sign and caret,
                     respectively (for example, August$^31).

     1\D\%           Finds a string like "12%" or "10%." A backslash and D
                     match any decimal digit; a backslash and percent (\%)
                     match an actual percent sign.

  If the pattern is found in the opposite direction, LSE asks if you want
  go there.  If you want to go there, simply press the Return key; otherwise,
  type No and press the Return key.

  LSE highlights the found text, with the cursor at the beginning of the
  string.  You can then perform operations on the found text as on a
  selected range:

    Change case, such as the LOWERCASE WORD command or the EDT Chngcase key
    Edit, such as the Copy, Remove, or EDT Append key
    Reformat, with the FILL or FILL RANGE command
    Substitute, such as the EDT Subs key
    OPEN SELECTED, if you found a file name

  To cancel the highlighting, move off the found range.

  With OpenVMS wildcards, use \L (for lowercase) or \U (for uppercase) to
  make the entire search case-sensitive.  Otherwise, case-sensitivity is
  the same as with the FIND command.

  Command Equivalent:

          SEARCH/PATTERN

  Related Topics:

          SEARCH
          SET SEARCH
          SHOW SEARCH
Close Help