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

Fix lexing of rb'' and rf'' python strings #227

Closed
wants to merge 1 commit into from

Conversation

jpe
Copy link
Contributor

@jpe jpe commented Feb 2, 2024

This lexes all of rb'', br'', rf'', fr'', and ur'' as strings but not ru''.

Interestingly ur'' is valid in python 2.7 but not in python 3. I kept things simple and did not add an option for this so ur'' is accepted whenever u'' is.

@nyamatongwe nyamatongwe added python Caused by the Python lexer committed Issue fixed in repository but not in release labels Feb 3, 2024
@nyamatongwe nyamatongwe closed this Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
committed Issue fixed in repository but not in release python Caused by the Python lexer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants