svoid test_wordTokReplacerRuleOnStarVars() { assertEqualsVerbose(litciset("John is John"), applyWordTokRule(wordTokReplacerRuleOnStarVars("*a is *b", "a is a"), "John is whatever")); WordTokRule rule = wordTokReplacerRuleOnStarVars("*a is *{b c}", "a is a"); rule.debug = true; printStruct("tokPat", rule.tokPat()); assertEqualsVerbose(litciset("John is John"), applyWordTokRule(rule, "John is whatever")); }