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

Support Rust and RustFancy flavors #27

Open
SonOfLilit opened this issue Sep 1, 2022 · 0 comments
Open

Support Rust and RustFancy flavors #27

SonOfLilit opened this issue Sep 1, 2022 · 0 comments

Comments

@SonOfLilit
Copy link
Owner

Teach the Rust compiler how to generate regular expressions that the regex crate knows how to read (mostly lots of errors for unsupported features), and how to generate regular expressions that the regex_fancy crate knows how to parse (there might be a few small syntactic differences vs. Python that need to be special cased).

Every to_regex() call includes a Flavor parameter that can be used to change the output when outputting regex for different engines. That's a good place to start, that and the Python and Rust regex implementations.

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

No branches or pull requests

1 participant