Skip to content

Commit dcc719f

Browse files
ensure regex does not match spaces in owner, package, procedure
1 parent 3932b2b commit dcc719f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqldev/src/main/java/org/utplsql/sqldev/ui/runner/RunnerPanel.xtend

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ class RunnerPanel implements ActionListener, MouseListener, HyperlinkListener {
549549
}
550550
// Patterns (primarily Warnings, without line reference, calculate when opening link):
551551
// owner.package.procedure
552-
val p2 = Pattern.compile('''^\s{2}(([^\.]+)\.([^\.]+)\.(.+))$''', Pattern.MULTILINE)
552+
val p2 = Pattern.compile('''^\s{2}(\S+)\.(\S+)\.(\S+)$''', Pattern.MULTILINE)
553553
m = p2.matcher(localText)
554554
while(m.find) {
555555
val link = '''&nbsp;&nbsp;<a href="«m.group(2).toUpperCase»/«m.group(3).toUpperCase»/1/«m.group(4).toUpperCase»">«m.group(1)»</a>'''

0 commit comments

Comments
 (0)