[PCB Replace][KiCad 8][Fixed] Default date regex

This commit is contained in:
Salvador E. Tropea 2024-03-07 13:43:03 -03:00
parent bff871660e
commit e2f3b755b3
1 changed files with 1 additions and 1 deletions

View File

@ -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 = '")'