From 44b9cc42d828c3c8822f04b4ec032803a794efef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Jos=C3=A9=20S?= <89701934+jj-sm@users.noreply.github.com> Date: Sat, 16 Nov 2024 01:27:20 -0300 Subject: [PATCH] Update _parser.py Fixed `EST` bug allowing both `C) 2403181638 EST` or `C) 2403181638EST` Fix: `estimated = _? "EST"` --- _parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_parser.py b/_parser.py index 83aab38..6466124 100644 --- a/_parser.py +++ b/_parser.py @@ -25,7 +25,7 @@ b_clause = "B)" _ datetime c_clause = "C)" _ ((datetime estimated?) / permanent) - estimated = "EST" + estimated = _? "EST" permanent = "PERM" d_clause = "D)" _ till_next_clause @@ -174,4 +174,4 @@ def generic_visit(self, _, visited_children): return visited_children def visit_root(self, node, _): - self.tgt.full_text = node.full_text \ No newline at end of file + self.tgt.full_text = node.full_text