[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:
kohsuke committed 2010-08-17 01:48:43 +00:00
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;