mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-02 18:02:23 +00:00
fix is_raw_string for multiple prefixes (#6865)
fix `is_raw_string` in the presence of other prefixes (like `rb"foo"`) fixes #6864
This commit is contained in:
parent
d1f07008f7
commit
1c66bb80b7
2 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ result_f = (
|
|||
(f"{one}" f"{two}")
|
||||
|
||||
|
||||
rf'Not-so-tricky "quote'
|
||||
rf"Not-so-tricky \"quote"
|
||||
|
||||
# Regression test for fstrings dropping comments
|
||||
result_f = (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue