diff --git a/pvextractor/pvregions.py b/pvextractor/pvregions.py index c94d4a304..abf45e0ee 100644 --- a/pvextractor/pvregions.py +++ b/pvextractor/pvregions.py @@ -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")