diff --git a/cura/UI/ObjectsModel.py b/cura/UI/ObjectsModel.py index 884d516f08f..4f642702474 100644 --- a/cura/UI/ObjectsModel.py +++ b/cura/UI/ObjectsModel.py @@ -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: