This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hard to tell what the Regex is -- since you forgot to turn off the smilies. But from what I can read, it looks like you are using a qualifier at the end.
Anyway... When a subgroup matches multiple times, in a single match, due to a qualifier, then only the last match is retained. If you want all matches of a particular subgroup, I suggest you remove the qualifier, and iterate through multiple times with the find() method.
[EDIT: Sorry, just realized you are not using the built-in Regex engine. Hopefully, Apache has an equivalent that allows the iteration.]
Henry [ May 11, 2006: Message edited by: Henry Wong ]