From: Robert Klemme Date: 2005-12-15T19:32:40+09:00 Subject: Re: regular expressions question ako... wrote: > thank you. yes, it seems to be the only way. just that it is a shame > that we have to match the same expression again! the information was > available already, it was just discarded during the first match in > your sample. I still didn't get what exactly you want. Does this help? >> 'a,b ,c'.split /\s*,\s*/ => ["a", "b", "c"] Kind regards robert