assertEquals(" : this is the end", matcher.group(5));
}
@Test
public void testSpaceAndColonDirectlyAfterFileName() {
Pattern pattern = new StyledTextAppender(null).getHyperlinkPattern();
Matcher matcher = pattern.matcher("Unknown SRC_MAIN_WEBAPP/WEB-INF/views/votes/list.jspx : this is the end");
assertTrue(matcher.matches());
assertEquals("Unknown ", matcher.group(1));
assertEquals("SRC_MAIN_WEBAPP/WEB-INF/views/votes/list.jspx", matcher.group(2));