From: James Ponder Date: 2001-04-21T23:16:11+09:00 Subject: [ruby-talk:13980] Re: regexp On Sat, Apr 21, 2001 at 10:36:51PM +0900, ts wrote: > >>>>> "J" == James Ponder writes: > J> var =~ /^(.+)=(.+)$/ do |x,y| > > Invalid syntax actually. You think it would be too horrible if ruby allowed that syntax and called method =~ with the block? Does that clash with existing syntax rules? What do I know. Just a suggestion :) Best wishes, James -- James Ponder; www.squish.net