branch: externals/ivy-hydra
commit ad00c476363d5db91b2cb98e4b8129ef0323280a
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>

    swiper.el (swiper--re-builder): Treat "\n" in input as a newline
---
 swiper.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/swiper.el b/swiper.el
index bcab606..55bfd88 100644
--- a/swiper.el
+++ b/swiper.el
@@ -727,6 +727,7 @@ When capture groups are present in the input, print them 
instead of lines."
 This is the regex used in the minibuffer where candidates have
 line numbers.  For the buffer, use `ivy--regex' instead."
   (let* ((re-builder (ivy-alist-setting ivy-re-builders-alist))
+         (str (replace-regexp-in-string "\\\\n" "\n" str))
          (re (cond
                ((equal str "")
                 "")

Reply via email to