From 632cf64d70653e2e5b1e1a1bdc86bb8807b1e96f Mon Sep 17 00:00:00 2001 From: awsr <43862868+awsr@users.noreply.github.com> Date: Tue, 30 Dec 2025 16:35:32 -0800 Subject: [PATCH] Update regex --- modules/ui_symbols.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui_symbols.py b/modules/ui_symbols.py index bc62f643f..c880a4a8f 100644 --- a/modules/ui_symbols.py +++ b/modules/ui_symbols.py @@ -53,7 +53,7 @@ style_save = '↷' @final class SVGSymbol: __created = [] - __re_display = re.compile(r"(?<=display:)\s*?(\w+)(?=;)") + __re_display = re.compile(r"(?<=display:)\s*([\w\-]+)(?=;)") @classmethod @lru_cache # Class method due to B019, but also mostly so the `style` method shows params in IDE