In article <20020519002056.GA12152 / panoptic.com>,
 Dossy <dossy / panoptic.com> wrote:

> x, y = str.match /.../ .slice(1..-1)

This is ambiguous.  /.../ has no method #slice.  Instead:

x, y = str.match(/.../).slice(1..-1)

or...

x, y = str.match(/.../)[1..-1]

or, just for the heck of it...

x, y = (str.match /.../)[1..-1]