This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 22178

Summary: Mixed API & SPI in Pattern class
Product: editor Reporter: Jaroslav Tulach <jtulach>
Component: LexerAssignee: issues@editor <issues>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P2    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Jaroslav Tulach 2002-04-07 21:10:42 UTC
The Pattern.MatchType seems to be very SPI-like,
not useful for user of the API. That is why it
shall be replaced by something more userfriendly.
Either Patterns.match (...) or by TokenId.match
(...) as suggested in my email on nbdev:

http://www.netbeans.org/servlets/ReadMsg?msgId=297347&listName=nbdev
Comment 1 Miloslav Metelka 2002-06-14 12:46:55 UTC
Pattern class was replaced by TokenTextMatcher interface and the
Pattern class was removed.
Comment 2 Jaroslav Tulach 2002-06-19 13:21:05 UTC
When the lexer module will appear on autoupdate alpha?
Comment 3 Miloslav Metelka 2002-06-19 15:50:40 UTC
The only thing currently missing are the automated tests. I'm working
on that.