Lugaru's Epsilon
Programmer's
Editor 14.04

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 Epsilon Programmer's Editor 14.04 manual. Copyright (C) 1984, 2021 by Lugaru Software Ltd. All rights reserved.