.getName());
final Token escapeTag = ErlTokenScanner.getToken(TokenHighlight.ESCAPE_TAG
.getName());
final List<IRule> rulesList = Lists.newArrayList();
rulesList.add(new RegexpRule("~[0-9*]*(\\.[0-9*]+)?.?t?[~cfegswWpPBbXx#+ni]",
tildeTag));
rulesList.add(new EscapeRule(escapeTag));
final IRule[] rules = new IRule[rulesList.size()];
rulesList.toArray(rules);