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
      . . .
      jump-to-named-bookmark
      keep-duplicate-lines
      keep-matching-lines
      keep-unique-lines
      kill-all-buffers
      . . .
   Variable Reference
      abort-file-io
      abort-file-matching
      abort-key
      . . .
      yank-rectangle-to-corner
   . . .

Previous   Up    Next
keep-duplicate-lines  Command Reference   keep-unique-lines


Epsilon User's Manual and Reference > Command Reference >

keep-matching-lines

Delete all lines but those containing a regex pattern.

This command prompts for a regular expression pattern. It then deletes all lines below point in the current buffer except those that contain the pattern. While you type the pattern, Ctrl-W enables or disables word searching, restricting matches to complete words. Ctrl-T enables or disables regular expression searching, in which the search string specifies a pattern (see regex-search for rules). Ctrl-C enables or disables case-folding.

More info:

Replacing



Previous   Up    Next
keep-duplicate-lines  Command Reference   keep-unique-lines


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