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

Two mistakes in R syntax highlighting #273

Open
drvictorvs opened this issue Oct 7, 2022 · 0 comments
Open

Two mistakes in R syntax highlighting #273

drvictorvs opened this issue Oct 7, 2022 · 0 comments

Comments

@drvictorvs
Copy link

drvictorvs commented Oct 7, 2022

Hey,

Just wanted to report that currently, in R, you can write a string literal using the r'(text here)' syntax. So that should escape the slashes, which it (currently) doesn't.

Also, if you use backtic quotes (that really are the grave accent from Romance languages), in other words, example, around a name, it should enclose symbols (i.e., variables), so that the entire contents should be interpreted as a symbol.

For instance, if I type QA19-21, it shouldn't interpret as QA19 being a symbol and then the minus sign and a 21 numeric literal, but a single symbol, QA19-21.

That's all. Thanks for the website by the way, great stuff.

Best regards,
Victor Souza

@drvictorvs drvictorvs changed the title Error in syntax highlighting for R regarding string literals Two mistakes in R syntax highlighting Oct 27, 2022
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

1 participant