From 3a935ce9d2c26298ac882488b77b8d595fbb4424 Mon Sep 17 00:00:00 2001 From: pichoro Date: Sun, 4 Jan 2009 18:26:32 +0000 Subject: [PATCH] Trying to put a stop to bolding of parameters in VS. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1291 0fc631ac-6414-0410-93d0-97cfa31319b6 --- data/vs.mse-game/game | 2 +- data/vs.mse-game/script | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/data/vs.mse-game/game b/data/vs.mse-game/game index 5dbc4d1a..7a20cfde 100644 --- a/data/vs.mse-game/game +++ b/data/vs.mse-game/game @@ -5,7 +5,7 @@ installer group: VS System/game files icon: card-back.png position hint: 3 -version: 2008-12-03 +version: 2009-01-04 depends on: package: vs-common.mse-include version: 2008-09-23 diff --git a/data/vs.mse-game/script b/data/vs.mse-game/script index ff8bf3f5..9cf5c0f1 100644 --- a/data/vs.mse-game/script +++ b/data/vs.mse-game/script @@ -62,18 +62,18 @@ replace_rule( match: "->|>>>|@|<>|•", replace: "&") + - #X#if contains(card.shape, match:"old") then symbol_filter else new_symbols - # step 7a : Bold keywords without reminder text - replace_rule( - match: "]*>[^<]+", - replace: "&") + - # step 7b : Bold keywords with reminder text - replace_rule( - match: "]*>[^<]+", - replace: "&") + + # step 7: keyword parameters should not be bolded + # step 7a: put before each + replace@( + match: "]*>", + replace: "&") + + # step 7b: put after each + replace@( + match: "]*>", + replace: "&") + # step 8 : Italic reminder text replace_rule( - match: "[(][^)\n]*[)]?", + match: "[(][^)\n]*[)]?", in_context: "(^|[[:space:]])|", replace: "&")