special_text, fr fixes
fix Enchant : creature being autocapitalized move card.special_text definition to the end so it can properly access all card fields
This commit is contained in:
@@ -1518,7 +1518,7 @@ auto_correct :=
|
||||
+ "([A-Z])" #### match this
|
||||
replace: { _1 + _2 + to_lower(_3)})
|
||||
+replace@(
|
||||
match: "([ ]*: |—| — )" #### preceded by this
|
||||
match: "([^ ]: |—| — )" #### preceded by this
|
||||
+ "([[:lower:]])" #### match this
|
||||
+ "(?![)])", #### not followed by this
|
||||
replace: { _1 + to_upper(_2) })
|
||||
@@ -1819,7 +1819,7 @@ text_filter :=
|
||||
} +
|
||||
#### step 8 : automatic capitalization, but not after "("
|
||||
#replace@(
|
||||
# match: "([ ]*: |—| — )" #### preceded by this
|
||||
# match: "([^ ]: |—| — )" #### preceded by this
|
||||
# + "([[:lower:]])" #### match this
|
||||
# + "(?![)])", #### not followed by this
|
||||
# replace: { _1 + to_upper(_2) }) +
|
||||
|
||||
Reference in New Issue
Block a user