Hi,

At Fri, 20 Sep 2002 17:01:09 +0900,
Pit Capitain wrote:
> have you thought of introducing a new or enhancing the current 
> Regex#match method with two additional optional parameters (the 
> index and a default value)? Usage like
> 
> >   sub1 = regex.new_match(str, 1, "")

sub1 = str[regex, 1] || ""	# 1.7 feature

-- 
Nobu Nakada