-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Support for the bytes
API?
#84
Comments
Hey! I haven't looked into how the So it's probably not a trivial change, and I don't have any plans to work at it at the moment. I'll label this "help wanted" and see if someone wants to pick it up. As a compromise for your solution, would it be possible to delegate to fancy-regex just in case your input and patterns are well-formed UTF-8 (which is probably the vast majority of cases)? |
Thanks for getting back to me! I understand this is a decent amount of work, I think falling back to I'll keep you updated on that experiment once I get some time to try it out. |
I just tried it (something unrelated took some time to install 😅), and there are a couple of issues with the workaround, I'll document those so it's easier to follow:
Thanks for listening ;) |
Hi,
I'm looking into
fancy-regex
to maybe add it to Mercurial'shgignore
system instead ofregex
to allow for non-linear regex as a fallback. Right now we completely disable the Rust fast-path if we come across an unsupported pattern, which is kind of a bummer.We're using the
bytes
API from theregex
crate and it looks like it's missing fromfancy-regex
. Is is something that can be added?Thanks
The text was updated successfully, but these errors were encountered: