From 28c0f3eb270a38b29a0eb5ba93e13a2199e12355 Mon Sep 17 00:00:00 2001 From: Ridwan Mulyadi Date: Thu, 9 May 2024 15:22:01 +0700 Subject: [PATCH] Fix regex string on keyd-application-mapper --- scripts/keyd-application-mapper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/keyd-application-mapper b/scripts/keyd-application-mapper index 6973e3e..7a8dc7c 100755 --- a/scripts/keyd-application-mapper +++ b/scripts/keyd-application-mapper @@ -473,7 +473,7 @@ def normalize_class(s): return re.sub('[^A-Za-z0-9]+', '-', s).strip('-').lower() def normalize_title(s): - return re.sub('[\W_]+', '-', s).strip('-').lower() + return re.sub(r'[\W_]+', '-', s).strip('-').lower() last_mtime = os.path.getmtime(CONFIG_PATH) def on_window_change(cls, title):