Added a lot of BOMs; cleaned up text replacements into auto_replace scripts.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1292 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
coppro
2009-01-04 19:10:05 +00:00
parent 3a935ce9d2
commit 3ee71ef6ae
10 changed files with 18 additions and 12 deletions
+3 -3
View File
@@ -392,13 +392,13 @@ text_filter :=
match: "(<atom-reminder-[^>]*>[^)]+[)]</atom-reminder-[^>]*>)([^\n]+)\\1"
replace: "\\2\\1"
) +
# step 3a : expand shortcut words ~ and CARDNAME
# step 3a : expand shortcut word CARDNAME
replace@(
match: "~|~THIS~|CARDNAME",
match: "CARDNAME",
in_context: "(^|[[:space:]]|\\()<match>", # TODO: Allow any punctuation before
replace: "<atom-cardname></atom-cardname>"
) +
# step 3b : expand shortcut words ` and shortened LEGENDNAME
# step 3b : expand shortcut word LEGENDNAME
replace@(
match: "LEGENDNAME",
in_context: "(^|[[:space:]]|\\()<match>", # TODO: Allow any punctuation before