]> code.delx.au - gnu-emacs-elpa/commit
Add an option for multi-tier regex matching
authorOleh Krehel <ohwoeowho@gmail.com>
Tue, 28 Apr 2015 14:35:32 +0000 (16:35 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Tue, 28 Apr 2015 14:43:47 +0000 (16:43 +0200)
commit56d7802293c03f13a7b052bdf419291d61592ff2
tree6137ceb0059b16c2332b06692f0aafb98eaf6754
parent57de44cf8bf28bbe93e1da50fd1f16634aec5bd0
Add an option for multi-tier regex matching

* ivy.el (ivy--regex-plus): New defun. This is an example for the
  multi-tier interface.
(ivy--filter): Update.

To use it, add e.g.:

(setq ivy-re-builders-alist
      '((t . ivy--regex-plus)))

Example using boost_1_58_0 and `find-file-in-project`:

* "utility" - 234 matches
* "utility hpp" - 139 matches
* "utility !hpp" - 95 matches

Fixes #62
ivy.el