Update script

This commit is contained in:
cajun
2025-06-10 23:21:12 -05:00
parent 9c7963ee69
commit c5941f6c89

View File

@@ -1693,6 +1693,15 @@ text_filter :=
in_context: "(^|[[:space:]]|\\(|,|\\.|:|“|\"|'||/|)<match>", #### TODO: Allow any punctuation before in_context: "(^|[[:space:]]|\\(|,|\\.|:|“|\"|'||/|)<match>", #### TODO: Allow any punctuation before
replace: "<atom-autorem></atom-autorem>" replace: "<atom-autorem></atom-autorem>"
) + ) +
#### step 3bb : debug atom fields
replace@(
match: "<atom-name>([^<]+)</atom-(card|print)",
replace: "<atom-\\2name>\\1</atom-\\2"
) +
replace@(
match: "<atom-name>",
replace: ""
) +
#### step 3c : fill in atom fields #### step 3c : fill in atom fields
tag_contents@( tag_contents@(
tag: "<atom-cardname>", tag: "<atom-cardname>",
@@ -1713,7 +1722,7 @@ text_filter :=
) + ) +
replace@( replace@(
match:"^<atom-(card|print)name><nospellcheck>this", match:"^<atom-(card|print)name><nospellcheck>this",
replace:"<atom-\\2name><nospellcheck>This" replace:"<atom-\\1name><nospellcheck>This"
) + ) +
tag_contents@( tag_contents@(
tag: "<atom-legname>", tag: "<atom-legname>",