ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Select By Regex

by mvoidex ST2/ST3

Find and select by regex

Details

Installs

  • Total 5K
  • Win 3K
  • OS X 1K
  • Linux 873
Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21
Windows 4 0 2 0 1 0 2 2 0 1 1 0 2 0 0 1 0 1 1 1 1 1 1 1 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 2 0 0 1 0 3 3
OS X 4 0 0 0 1 0 1 2 2 0 0 2 0 0 0 0 1 2 0 1 0 1 0 2 0 1 0 0 0 0 1 0 0 0 2 0 0 0 0 0 0 1 0 3 0 0
Linux 0 0 0 2 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 2 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Select By Regex

Package Control

Select

This plugin used to select by regex. Command Select By Regex: All selects all, Select By Regex: Next selects first found regex for each selection. If you want restrict search for line, use Expand Selection to Line before calling Select By Regex command.
If regex contain groups, then groups will be select. To exclude group from selection use (?:...) group. Select By Regex: Next can also use $_ to match string under current selection.

Select All Select Next

Consecutive Next

You can run Next command while it is active to go through matches: Select Next Seq

Bind to keys

You can use this keymap

{
    "keys": ["alt+shift+/"],
    "command": "select_by_regex_all",
},
{
    "keys": ["alt+/"],
    "command": "select_by_regex_next"
}