mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 05:52:26 +00:00
[FIXED HUDSON-7026] applied the patch to fix the regular expression.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33897 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
1d49f9a447
commit
b17951d4cf
1 file changed
+1
-1
@@ -44,7 +44,7 @@ public final class AntTargetNote extends ConsoleNote {
|
||||
// still under development. too early to put into production
|
||||
if (!ENABLED) return null;
|
||||
|
||||
MarkupText.SubText t = text.findToken(Pattern.compile("^[^:]+(?=:)"));
|
||||
MarkupText.SubText t = text.findToken(Pattern.compile(".*(?=:)"));
|
||||
if (t!=null)
|
||||
t.addMarkup(0,t.length(),"<b class=ant-target>","</b>");
|
||||
return null;
|
||||
|
||||
Reference in new issue
Block a user