Skip to content
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--re-builder and start of line anchor #1692

Closed
papercatlol opened this issue Aug 1, 2018 · 2 comments

Comments

@papercatlol
Copy link

commented Aug 1, 2018

Hello,
If any ivy-re-builder that returns a list of (re . match-p) pairs is used,
swiper--re-builder creates invalid regexps from strings that have a start of line anchor ^ :

ELISP> (let ((ivy-re-builders-alist '((t . ivy--regex-ignore-order))))
         (swiper--re-builder "^ foo bar"))
"^ ?\\(((foo . t) (bar . t))\\)"

@abo-abo abo-abo closed this in 7a29919 Aug 7, 2018

@abo-abo

This comment has been minimized.

Copy link
Owner

commented Aug 7, 2018

Thanks, please test.

@papercatlol

This comment has been minimized.

Copy link
Author

commented Aug 7, 2018

Works, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.