Lugaru's Epsilon
Programmer's
Editor

Context:
Epsilon User's Manual and Reference
   . . .
   Commands by Topic
      Getting Help
      Moving Around
      Changing Text
      . . .
      Miscellaneous
   Command Reference
      . . .
      browse-symbol
      bufed
      buffer-grep
      buffer-spell-mode
      c-close
      . . .
   Variable Reference
      abort-file-io
      abort-file-matching
      abort-key
      . . .
      yank-rectangle-to-corner
   . . .

Previous   Up    Next
bufed  Command Reference   buffer-spell-mode


Epsilon User's Manual and Reference > Command Reference >

buffer-grep

Search in buffers for a pattern.

This command searches through buffers for a pattern. It prompts for a search string and a buffer pattern; the default is to search only the current buffer. Then it searches in all buffers matching the buffer pattern, listing matching lines in the grep buffer. The grep buffer then appears in the current window.

By default, buffer-grep interprets the search string as a regular expression. Press Ctrl-T at the search string prompt to toggle regular expression mode. You can also type Ctrl-W or Ctrl-C to toggle word-mode or case-folding searches, respectively.

The buffer name pattern may contain the wildcard characters ? to match any single character, * to match zero or more characters, a character class like [^a-zA-Z] to match any non-alphabetic character, or | to separate alternatives.

In grep mode, alphabetic keys run special grep commands. See the description of the grep-mode command for details. Typing H or "?" in grep mode gives help on grep subcommands.

A bit in the search-in-region variable makes grepping a single buffer restrict itself to a highlighted region. By default, Epsilon searches entire buffers.



Previous   Up    Next
bufed  Command Reference   buffer-spell-mode


Lugaru Copyright (C) 1984, 2012 Lugaru Software Ltd. All Rights Reserved.