From: Tachikoma Date: 2008-07-19T20:39:53+09:00 Subject: Re: Suggestions for a parsing strategy? On Jul 19, 11:38 am, "Eric I." wrote: >   s.scan(/(\w+)(\((.*?)\))?/).map { |root, junk, suffixes| s.scan(/(\w+)(?:\((.*?)\))?/) can avoid the "junk" ^^,Your pattern is great & helpful