diff --git a/kibot/pre_pcb_replace.py b/kibot/pre_pcb_replace.py index 89503b08..fa4f992c 100644 --- a/kibot/pre_pcb_replace.py +++ b/kibot/pre_pcb_replace.py @@ -54,7 +54,7 @@ class PCB_Replace(Base_Replace): # noqa: F821 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 = '")'