Update regex

This commit is contained in:
awsr
2025-12-30 16:35:32 -08:00
parent a8bce14ee7
commit 632cf64d70
+1 -1
View File
@@ -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