I have a real computer but not always access to it

Joe

Sent from my iPad

On Oct 4, 2011, at 2:04 AM, Robert Klemme <shortcutter / googlemail.com> wrote=
:

> Please do not top post.
>=20
> On Mon, Oct 3, 2011 at 6:42 PM, Joec_49 / hotmail.com <joec_49 / hotmail.com> w=
rote:
>> $~ has the matched result from the most recent regexp. Convert to a strin=
g thusly
>>=20
>> ($~).to_s
>=20
> You're point being?  Why would I bother to use $~.to_s if I can
> directly use $& and get the same?  Also, my point was specifically
> that you can get away without those global variables and instead use
> what String#[] returns.
>=20
>> Joe
>>=20
>> Sent from my iPad
>=20
> Maybe you had better used a real computer.
>=20
> Cheers
>=20
> robert
>=20
> --=20
> remember.guy do |as, often| as.you_can - without end
> http://blog.rubybestpractices.com/
>=20
>=20