diff --git a/rhasspyhermes_app/__init__.py b/rhasspyhermes_app/__init__.py index 1f3cb0a..ea0b010 100644 --- a/rhasspyhermes_app/__init__.py +++ b/rhasspyhermes_app/__init__.py @@ -563,7 +563,7 @@ def regex_mapper(part): if token == "#" else "[^/]+$" if token == "+" - else token + "$" + else token.replace("*", r"\*") + "$" # not escaping * prevents the regex from matching ) return value