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
Closed

swiper--re-builder and start of line anchor #1692

papercatlol opened this issue Aug 1, 2018 · 2 comments

Comments

@papercatlol
Copy link

@papercatlol papercatlol 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
Copy link
Owner

@abo-abo abo-abo commented Aug 7, 2018

Thanks, please test.

@papercatlol
Copy link
Author

@papercatlol papercatlol commented Aug 7, 2018

Works, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants