New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
swiper-all navigation breaks after invalid regexp #765
Comments
Thanks for the report, I can reproduce it. I never use Here's what a volunteer can do:
|
The input from the user may not be a valid regexp. Even when a user types a valid regexp, there may be points where the intermediate value is not a valid regexp. Fall back to a literal string match if the input is not a valid regexp. Fixes abo-abo#765.
Thanks, that's really helpful. I've created a PR along the lines you described. |
Given a buffer with the following contents:
And the following ivy settings:
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*
:The problem seems to occur when I've typed
foo=\
but haven't yet typed the[
.The text was updated successfully, but these errors were encountered: