Subject: [ruby-talk:02024] Re: Ruby Syntax similar to other languages?
From: ts <decoux moulon.inra.fr>
Date: Sun, 19 Mar 2000 13:27:18 +0100 (MET)
>
> If 'g' was an attribute of Regexp, then what would
>
> line =~ /asdf/g
>
> mean?
while line =~ /asdf/g
print "#$&\n"
end
it's more perl than ruby, sorry
Guy Decoux