Skip to content

Commit

Permalink
use raw string in RE (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
gillins committed May 21, 2024
1 parent 59141f4 commit beee123
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tuiview/minify_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


def json_minify(json, strip_space=True):
tokenizer=re.compile('"|(/\*)|(\*/)|(//)|\n|\r') # noqa
tokenizer = re.compile(r'"|(/\*)|(\*/)|(//)|\n|\r')
in_string = False
in_multiline_comment = False
in_singleline_comment = False
Expand Down

0 comments on commit beee123

Please sign in to comment.