branch: master
commit 79924dca8d8662df19e146505c7edffad130928d
Author: Oleh Krehel <ohwoeo...@gmail.com>
Commit: Oleh Krehel <ohwoeo...@gmail.com>

    swiper.el (swiper--re-builder): Fix "^a" -> "^" case
    
    Fixes #262
---
 swiper.el |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/swiper.el b/swiper.el
index f702e90..4cd0bfc 100644
--- a/swiper.el
+++ b/swiper.el
@@ -316,6 +316,7 @@ there have line numbers. In the buffer, `ivy--regex' should 
be used."
     ((equal str "")
      "")
     ((equal str "^")
+     (setq ivy--subexps 0)
      ".")
     ((string-match "^\\^" str)
      (setq ivy--old-re "")

Reply via email to