mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 05:36:59 -04:00
Slightly altered automatic capitalization.
New automatic names for Vanguard, to fit with MTGO Avatar formatting. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1380 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -5,7 +5,7 @@ installer group: magic/game files
|
||||
icon: card-back.png
|
||||
position hint: 01
|
||||
|
||||
version: 2009-04-22
|
||||
version: 2009-05-28
|
||||
depends on: magic-blends.mse-include 2007-09-23
|
||||
depends on: magic-watermarks.mse-include 2007-09-23
|
||||
|
||||
|
||||
@@ -452,9 +452,9 @@ text_filter :=
|
||||
match: "[(]([^)\n]|[(][^)\n]*[)])*[)]?",
|
||||
in_context: "(^|[[:space:]])<match>|<atom-keyword><match></",
|
||||
replace: "<i-auto>&</i-auto>") +
|
||||
# step 8 : automatic capitalization
|
||||
# step 8 : automatic capitalization, but not after "("
|
||||
replace@(
|
||||
match: "([(](?:<param-[a-z]*>)?|[ ]*: <param-cost>|—| — )" # 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