!7 p-exp { S pat = "how many $faces are on a $rubiks_cube"; S s = "how many segments are on a {face of a rubik's cube}"; new SS matches; print(new NLStringMatcher_dollarVars_underscores_dollarDollar().match(pat, s, matches)); printStruct(matches); printStruct(matchDollarVarsIC_plusBrackets(pat, s)); }