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

[RFC] Using Rust regex crates in Remacs #285

Open
Wilfred opened this issue Aug 6, 2017 · 2 comments
Open

[RFC] Using Rust regex crates in Remacs #285

Wilfred opened this issue Aug 6, 2017 · 2 comments

Comments

@Wilfred
Copy link
Collaborator

Wilfred commented Aug 6, 2017

Rendered

@rirze
Copy link

rirze commented Jan 7, 2020

I couldn't find a mention of this within the remacs project, so I thought I'd share here:

A relatively new crate, regex-automata supports &[u8] input and could be theoretically used for regex in remacs. At this current point in time, one will have to write their own wrappers over the crate's lower level functions, but an API for streaming scenarios is on the road map.

@shaleh
Copy link
Collaborator

shaleh commented Jan 7, 2020

Hmm, the negatives sound like they would make Emacs's famously slow regexes worse. Especially since we would constructing that [u8] using iteration.

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

No branches or pull requests

3 participants