Austin Ziegler <halostatue / gmail.com> writes:
> On Wed, 25 Aug 2004 23:57:31 +0900, Dave Thomas <dave / pragprog.com> wrote:
>> I think I'd rather phrase that as "that's _a_ Ruby way to do it." 90%
>> of the time, I personally find $1 and friends far more convenient, and
>> use Regexp#match only when I need the match results to be long-lived.
>
> True enough. I personally rarely use $1 and friends, but that's just
> the way that I program. Are $1 and friends being phased out over time,
> though?

require 'tastes_may_differ'

I certainly hope not.  One of the reasons I chose Ruby over Python for
my automated test harness was that regexes in Python are far too
complicated and verbose for my taste, whereas in Ruby, they're simple
and easy, with $1-style variables.

-=Eric
-- 
Come to think of it, there are already a million monkeys on a million
typewriters, and Usenet is NOTHING like Shakespeare.
		-- Blair Houghton.