On 10/22/06, Giles Bowkett <gilesb / gmail.com> wrote:
> Anybody know a way to make this DRYer?
>
>     when /^([A-Za-z0-9,]+), '([^']+)', '([^']+)', '([^']+)'/

grp = %{ '([^']+)'}
rx = /^([A-Za-z0-9,]+),#{grp},#{grp},#{grp}/

martin