diff --git a/jedi/parser_utils.py b/jedi/parser_utils.py index 75cfdca3..789eaf0a 100644 --- a/jedi/parser_utils.py +++ b/jedi/parser_utils.py @@ -294,4 +294,4 @@ def cut_value_at_position(leaf, position): def get_string_quote(leaf): - return re.match('\w*("""|\'{3}|"|\')', leaf.value).group(1) + return re.match(r'\w*("""|\'{3}|"|\')', leaf.value).group(1)