if (matcher.matches()) {
String expected = StringUtil.replace(matcher.group(2), "\\n", "\n");
String actual = StringUtil.replace(matcher.group(3), "\\n", "\n");
if (expected.contains("\n") && actual.contains("\n")) {
final int textStartOffset = entireLength - line.length();
DiffHyperlink diffHyperlink = new DiffHyperlink(expected, actual, null);
DiffHyperlink.DiffHyperlinkInfo hyperlinkInfo = diffHyperlink.new DiffHyperlinkInfo();
return new Result(textStartOffset + matcher.start(1), textStartOffset + matcher.end(1), hyperlinkInfo);
}
}
return null;