diff --git a/runtime/queries/python/highlights.scm b/runtime/queries/python/highlights.scm index 70f6d9acc..b53c34eb7 100644 --- a/runtime/queries/python/highlights.scm +++ b/runtime/queries/python/highlights.scm @@ -416,10 +416,17 @@ (call function: (attribute object: (identifier) @_re) - arguments: (argument_list - . - (string - (string_content) @string.regexp)) + arguments: [ + (argument_list + . + (string + (string_content) @string.regexp)) + (argument_list + . + (concatenated_string + (string + (string_content) @string.regexp))) + ] (#eq? @_re "re")) ; Decorators