From 0bff5d244122508443c0f6d44cd509997f48bae2 Mon Sep 17 00:00:00 2001 From: Guido Draheim Date: Thu, 1 Aug 2024 13:12:03 +0200 Subject: [PATCH] hint to parsing --- tabxlsx.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tabxlsx.py b/tabxlsx.py index 07fb41c..ab5eec3 100755 --- a/tabxlsx.py +++ b/tabxlsx.py @@ -808,6 +808,7 @@ def extension(filename: str) -> Optional[str]: formatleft = re.compile("[{]:[^{}]*<[^{}]*[}]") formatright = re.compile("[{]:[^{}]*>[^{}]*[}]") formatnumber = re.compile("[{]:[^{}]*[defghDEFGHMQR$%][}]") + # parsing the microsyntax of headers and selected columns ["colname:{:.2f}$"] formats: Dict[str, str] = {} renameheaders: Dict[str, str] = {} showheaders: List[str] = []