Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 285941 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaConnectorUi.java (-3 / +3 lines)
Lines 50-60 Link Here
50
 */
50
 */
51
public class BugzillaConnectorUi extends AbstractRepositoryConnectorUi {
51
public class BugzillaConnectorUi extends AbstractRepositoryConnectorUi {
52
52
53
	private static final int TASK_NUM_GROUP = 3;
53
	private static final int TASK_NUM_GROUP = 5;
54
54
55
	private static final int ATTACHMENT_NUM_GROUP = 4;
55
	private static final int ATTACHMENT_NUM_GROUP = 6;
56
56
57
	private static final String regexp = "(?:(duplicate of| bug| task)( ?#? ?)(\\d+))|(?:Created an attachment\\s*\\(id=(\\d+)\\))"; //$NON-NLS-1$
57
	private static final String regexp = "(?:(duplicate of|(\\s|^)+bug|(\\s|^)+task)( ?#? ?)(\\d+))|(?:Created an attachment\\s*\\(id=(\\d+)\\))"; //$NON-NLS-1$
58
58
59
	private static final Pattern PATTERN = Pattern.compile(regexp, Pattern.CASE_INSENSITIVE);
59
	private static final Pattern PATTERN = Pattern.compile(regexp, Pattern.CASE_INSENSITIVE);
60
60

Return to bug 285941