From e2f3b755b3cb374e6802321a632a3e8fd6309648 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Thu, 7 Mar 2024 13:43:03 -0300 Subject: [PATCH] [PCB Replace][KiCad 8][Fixed] Default date regex --- kibot/pre_pcb_replace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kibot/pre_pcb_replace.py b/kibot/pre_pcb_replace.py index 89503b081..fa4f992c9 100644 --- a/kibot/pre_pcb_replace.py +++ b/kibot/pre_pcb_replace.py @@ -54,7 +54,7 @@ def apply(self): if o.date_command: # Convert it into another replacement t = TagReplacePCB() - t.tag = r'^ \(date (\S+|"(?:[^"]|\\")+")\)$' + t.tag = r'^( |\t\t)\(date (\S+|"(?:[^"]|\\")+")\)$' t.command = o.date_command t.before = ' (date "' t.after = '")'