Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Elsemore2013-06-25 10:14:56 -0400
committerGerrit Code Review @ Eclipse.org2013-08-01 16:57:44 -0400
commitb55ba73481f324bd04e780bc05a8adae312d84af (patch)
tree234d9fb7f5922dd6f18c66fc089dee6318837a4d /org.eclipse.mylyn.bugzilla.ui
parent0fe431cf30eb7ab09f6cc552d3c15c4d4f21c5be (diff)
downloadorg.eclipse.mylyn.tasks-b55ba73481f324bd04e780bc05a8adae312d84af.tar.gz
org.eclipse.mylyn.tasks-b55ba73481f324bd04e780bc05a8adae312d84af.tar.xz
org.eclipse.mylyn.tasks-b55ba73481f324bd04e780bc05a8adae312d84af.zip
411420: Improve hyperlink detection
Improve regex so that "Bug: <bugId>" pattern, commonly used in commit messages, is recognized. Bug: 411420 Change-Id: I3f16b180c10bff46e59e63a908ea766a10ce4f21 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=411420 Signed-off-by: Stephen Elsemore <selsemore@collab.net>
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.ui')
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaConnectorUi.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaConnectorUi.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaConnectorUi.java
index 2cc13e6c5..b00cff4b1 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaConnectorUi.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaConnectorUi.java
@@ -53,7 +53,7 @@ import org.eclipse.mylyn.tasks.ui.wizards.RepositoryQueryWizard;
*/
public class BugzillaConnectorUi extends AbstractRepositoryConnectorUi {
- private static final String BUG = "(?:duplicate of|bug|task)[ \t]*#?[ \t]*(\\d+)"; //$NON-NLS-1$
+ private static final String BUG = "(?:duplicate of|bug|task)[ \t]*(?:#|:)?[ \t]*(\\d+)"; //$NON-NLS-1$
private static final String COMMENT = "comment[ \t]*#?[ \t]*(\\d+)"; //$NON-NLS-1$

Back to the top