QuorumLexer lexer = new QuorumLexer(ss);
lexer.getNumberOfSyntaxErrors();
CommonTokenStream tokens = new CommonTokenStream(lexer);
//do a parse to check for matches
QuorumParser parser = new QuorumParser(tokens);
parser.setMatcher(matcher);
matcher.clear();
parser.start();
} catch (Exception ex) { //ignore syntax errors
int a = 0;
}
}