On 6/7/2006, at 17:56, Steve Lianoglou wrote: > [...] > (\b(void|boolean|byte|char|short|int|float|long|double|(\w+\.)*[A-Z] > \w+(<(\w+\.)*[A-Z]\w+>)?)\b(\[\s*\])?)\s* # type The problem is that you have \b after the > but that would not be a word boundary. I updated the Java grammar in the repository to support<generics>.