goto class/file: support more line number denotations (fix ChooseByNameHddTest)

This commit is contained in:
peter
2016-02-08 22:39:02 +01:00
parent 4b068637a1
commit 54ea340e4b
@@ -343,8 +343,7 @@ public class ChooseByNamePopup extends ChooseByNameBase implements ChooseByNameP
}
private static final Pattern patternToDetectLinesAndColumns = Pattern.compile("(.+?)" + // name, non-greedy matching
"(?::|@|,| on line | at line |)?" + // separator
"[(\\[]?" + // possible opening paren/brace
"(?::|@|,| on line | at line |:?\\(|:?\\[)" + // separator
"(\\d+)?(?:(?:\\D)(\\d+)?)?" + // line + column
"[)\\]]?" // possible closing paren/brace
);