Skip to content

swiper-all navigation breaks after invalid regexp #765

@Wilfred

Description

@Wilfred

Given a buffer with the following contents:

foo=[1,2,3]
foo=[4,5,6]

And the following ivy settings:

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

M-x swiper-all RET foo=\[ breaks ivy. I cannot move between results in the minibuffer (e.g. by pressing C-n and C-p).

I get the following error in *Messages*:

Error in post-command-hook (ivy--exhibit): (invalid-regexp "Trailing backslash")

The problem seems to occur when I've typed foo=\ but haven't yet typed the [.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions