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

Regular expressions in raw strings aren't formatted #27

Closed
ambv opened this issue Apr 12, 2018 · 2 comments
Closed

Regular expressions in raw strings aren't formatted #27

ambv opened this issue Apr 12, 2018 · 2 comments

Comments

@ambv
Copy link

ambv commented Apr 12, 2018

Example formatted by MagicPython:

@maxbrunsfeld
Copy link
Contributor

/cc @queerviolet - Now we can handle this by injecting tree-sitter-regex into raw strings. We'll have to identify the strings' raw-ness from the text, by checking if the string starts with an r, fr, or br.

I'm not sure how specific we want to be about our injection. Maybe we just start by doing it in all raw strings?

@stsewd
Copy link
Contributor

stsewd commented Jul 26, 2021

@amaanq amaanq closed this as completed Jul 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants