if (token.name == "EVAL") {
print(JSON.stringify(token,null,4));
- if (token.prefix && token.prefix.match(/eval:var:/)) {
+ if (token.prefix && token.prefix.match(/eval:var:/g)) {
// look for eval:var:noreplace\n
+ print("GOT MATCH?");
var _t = this;
token.prefix.replace(/eval:var:([a-z]+)/ig, function(m, a) {