Bug 162985 - [ActivityMgmt] Support < > in patterns
Summary: [ActivityMgmt] Support < > in patterns
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Kim Horne CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2006-10-31 15:20 EST by Keith Chong CLA
Modified: 2007-06-05 13:08 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Chong CLA 2006-10-31 15:20:01 EST
I'm trying to add a pattern to exclude a set of plugins that end with a certain word.  The regular expression that works is:

(?<!text)

I cannot use the character '<' in the plugin.xml.   I also tried &lt; and the unicode character for <, but these don't seem to work.
Comment 1 Keith Chong CLA 2006-10-31 15:22:41 EST
My current workaround is to add an activityPatternBinding for each of my plugins excluding the ones that end with that particular word. :-(
Comment 2 Kim Horne CLA 2006-11-01 15:10:22 EST
After talking with you I'm going to mark this as resolved.  You seem to have a pattern that now works.  Please reopen if the issue continues.
Comment 3 Keith Chong CLA 2006-11-01 16:30:31 EST
Well, having a workaround doesn't mean this isn't still a problem. :-)

It would be good to support a set a plugins that don't end with a particular word, like this:

org\.eclipse\.wst\.[\.\w/]*(?<!samples?)/[\.\w/]*

I had to create a total of 10 patterns just to get around this one.
Comment 4 Kim Horne CLA 2006-11-01 17:36:44 EST
How is this a workaround?  You asked if you could support patterns such as "(?<!text)" and I showed you how to do it.  What are we missing?
Comment 5 Kim Horne CLA 2007-06-05 13:08:28 EDT
Without an answer to my question I will resolve as INVALID again