Subject: Re: Scan-like Idiom to Capture a Group as a String Instead of an Array?
From: Yoann Guillot <john-rubytalk ofjj.net>
Date: Mon, 24 Apr 2006 20:13:20 +0900
References: 189900189903189911189935
In-reply-to: 189935
James Edward Gray II wrote:
> >> another_found = str[/find this/]
> => "find this"
> >> yet_another_found = str[/skip this (find this) skip this/, 1]
> => "find this"
>
arg, sorry for the dupe.
Yoann