[#1816] Ruby 1.5.3 under Tru64 (Alpha)? — Clemens Hintze <clemens.hintze@...>

Hi all,

17 messages 2000/03/14

[#1989] English Ruby/Gtk Tutorial? — schneik@...

18 messages 2000/03/17

[#2241] setter() for local variables — ts <decoux@...>

18 messages 2000/03/29

[ruby-talk:02023] Re: Ruby Syntax similar to other languages?

From: Dave Thomas <Dave@...>
Date: 2000-03-19 12:18:52 UTC
List: ruby-talk #2023
"Conrad Schneiker" <schneiker@jump.net> writes:

> > Hmm, although I think options i, s, m, o, and x should belong to
> > regexp, I can understand your opinion.
> 
> Could g belong to regexp as well?

If 'g' was an attribute of Regexp, then what would

    line =~ /asdf/g

mean?

You know, I've been using Perl for years, and awj before that. I must
have written thousands if pattern matches. And I can't think of a
single case where I've needed to change a match from 'once' to
'global' at runtime. So I'm wondering: what are we discussing here?

Sorry to be dense.

Dave

In This Thread

Prev Next