Matcher m = null;
m = revisionPattern.matcher(text);
while (m.find()) {
if (m.start() <= textOffset && textOffset <= m.end()) {
links.add(new RedmineRevisionHyperlink(buildRegion(lineOffset, m.start(), m.end()), repository, task, m.group(1)));
}
}
m = commitPattern.matcher(text);
while (m.find()) {
if (m.start() <= textOffset && textOffset <= m.end()) {
links.add(new RedmineRevisionHyperlink(buildRegion(lineOffset, m.start(), m.end()), repository, task, m.group(1)));
}
}
m = issuePattern.matcher(text);
while (m.find()) {