Skip to content

Commit

Permalink
Merge pull request #14928 from cgobat/bugfix/raw-regex-str
Browse files Browse the repository at this point in the history
Fix non-raw RegEx pattern string
  • Loading branch information
casperlamboo authored Oct 4, 2023
2 parents b980b6b + 260743d commit 4957f87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cura/UI/ObjectsModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def __init__(self, parent = None) -> None:
self._group_name_template = catalog.i18nc("@label", "Group #{group_nr}")
self._group_name_prefix = self._group_name_template.split("#")[0]

self._naming_regex = re.compile("^(.+)\(([0-9]+)\)$")
self._naming_regex = re.compile(r"^(.+)\(([0-9]+)\)$")

def setActiveBuildPlate(self, nr: int) -> None:
if self._build_plate_number != nr:
Expand Down

0 comments on commit 4957f87

Please sign in to comment.