code: function () {
        var property, token;
        for (property in this.lex) {
          token = this.lex[property]
  
          if (token.hasText) {
            token.compiledRe = this.lex.text.matcher + token.matcher;
          } else {
            token.compiledRe = token.matcher;
          }
  
          token.compiledRe = new RegExp(token.compiledRe, "gi");
        }
      }
docs: /*
  Compiles the lexer regexes, so we don't have to do it each time.