private boolean matchToken(final String line, final Transition entry) { boolean matches = false; final Matcher matcher = entry.getMarkdownPattern().getPattern().matcher(line); if (matcher.matches()) { this.lastToken = (matcher.groupCount() == 0) ? "" : matcher.group(1); matches = true; } return matches; }
private boolean matchToken(final String line, final Transition entry) { boolean matches = false; final Matcher matcher = entry.getMarkdownPattern().getPattern().matcher(line); if (matcher.matches()) { this.lastToken = (matcher.groupCount() == 0) ? "" : matcher.group(1); matches = true; } return matches; }