From b5c752bd373a8d3a573906d76a2eacddb01cd3b8 Mon Sep 17 00:00:00 2001 From: Sunn Yao Date: Mon, 14 Sep 2026 06:16:58 +0800 Subject: [PATCH] Fix regex pattern for color tags in text_item.py --- python/text_item.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/text_item.py b/python/text_item.py index 975878a..ce2c0a1 100644 --- a/python/text_item.py +++ b/python/text_item.py @@ -74,7 +74,7 @@ SCRIPT_DESC = "add a plain text or evaluated content to item bar" # regexp to match ${color} tags -regex_color=re.compile('\$\{([^\{\}]+)\}') +regex_color=re.compile(r'\$\{([^\{\}]+)\}') hooks = {} TIMER = None