Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfbecker2009-11-14 13:35:06 +0000
committerfbecker2009-11-14 13:35:06 +0000
commitc673ae8f45dec9854f64b2cd9b5aab797d6ab75e (patch)
tree1b3b830b01b368def0ce8998200195573e69b393 /org.eclipse.mylyn.bugzilla.ui
parent5a9245e28b03c0ec7f89efcb2e4bc9ed1d3c54c5 (diff)
downloadorg.eclipse.mylyn.tasks-c673ae8f45dec9854f64b2cd9b5aab797d6ab75e.tar.gz
org.eclipse.mylyn.tasks-c673ae8f45dec9854f64b2cd9b5aab797d6ab75e.tar.xz
org.eclipse.mylyn.tasks-c673ae8f45dec9854f64b2cd9b5aab797d6ab75e.zip
ASSIGNED - bug 291343: too much text highlighted when link is in bug<space>#<number> format
https://bugs.eclipse.org/bugs/show_bug.cgi?id=291343
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.java6
1 files changed, 3 insertions, 3 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 801b361a6..87c0dc5d9 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
@@ -50,11 +50,11 @@ import org.eclipse.mylyn.tasks.ui.wizards.RepositoryQueryWizard;
*/
public class BugzillaConnectorUi extends AbstractRepositoryConnectorUi {
- private static final int TASK_NUM_GROUP = 3;
+ private static final int TASK_NUM_GROUP = 5;
- private static final int ATTACHMENT_NUM_GROUP = 4;
+ private static final int ATTACHMENT_NUM_GROUP = 6;
- private static final String regexp = "(?:(duplicate of| bug| task)( ?#? ?)(\\d+))|(?:Created an attachment\\s*\\(id=(\\d+)\\))"; //$NON-NLS-1$
+ private static final String regexp = "(?:(duplicate of|(\\s|^)+bug|(\\s|^)+task)( ?#? ?)(\\d+))|(?:Created an attachment\\s*\\(id=(\\d+)\\))"; //$NON-NLS-1$
private static final Pattern PATTERN = Pattern.compile(regexp, Pattern.CASE_INSENSITIVE);

Back to the top