From: Simon Strandgaard Date: 2003-12-12T04:21:59+09:00 Subject: Re: expect, rexpect and others On Fri, 12 Dec 2003 04:12:12 +0900, Ben Giddings wrote: > Is there some historical reason why the result of a match is "buffer", $1, > $2, $3...? To me, it would make more sense to do I think $1..$9 are inspired by perl.. > matchdata = regexp.match(buffer) Yes that makes much more sense. BTW: I am working on a regexp engine written entirely in Ruby. http://raa.ruby-lang.org/list.rhtml?name=regexp -- Simon Strandgaard