mirror of
https://github.com/astral-sh/ruff
synced 2026-01-09 15:44:22 -05: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:
@@ -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 = (
|
||||
|
||||
Reference in New Issue
Block a user