diff --git a/bapsf_motion/gui/configure/motion_group_widget.py b/bapsf_motion/gui/configure/motion_group_widget.py index 29368f83..2c89b45a 100644 --- a/bapsf_motion/gui/configure/motion_group_widget.py +++ b/bapsf_motion/gui/configure/motion_group_widget.py @@ -2971,7 +2971,7 @@ def _rename_motion_group(self): @staticmethod def split_motion_group_name(mg_name): match = re.compile( - r"(<)(?P[\w\s-]+)(>)\s+(?P[\w\s-]+)" + r"(<)(?P[\w\s-]+)(>)\s+(?P[\w\s.,-]+)" ).fullmatch(mg_name) if match is not None: drive_name = match.group("drive_name").strip()