Skip to content

Commit

Permalink
fix: Address flake8 W605: SyntaxError: invalid escape sequence '\('.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hellseher committed Aug 3, 2024
1 parent d5803d8 commit fea4494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pvextractor/pvregions.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def simple_region_parser(regionstring, coord_format):
# not a usable region
return

coordre = re.compile("^[a-z]*\((.*)\)")
coordre = re.compile("^[a-z]*\\((.*)\\)")
coord_list = coordre.findall(rs)
if len(coord_list) != 1:
raise ValueError("Invalid region")
Expand Down

0 comments on commit fea4494

Please sign in to comment.