From: YANAGAWA Kazuhisa Date: 2004-02-15T23:01:23+09:00 Subject: Re: hyperlinking URLs (and emails?) in text In Message-Id: <20040215092727.GA2685@mail.hitmedia.com> Ruby Baby writes: > Just trying to hyperlink URLs in text (and in future, email > addresses, without needing mailto:). Do you like the following? uri.rb is bundled with current stable releases. require "uri" URI.extract("foo bar http://foo.bar.com/foobar mailto:foo@bar.com") #=> ["http://foo.bar.com/foobar", "mailto:foo@bar.com"] -- kjana@dm4lab.to February 15, 2004 Out of sight, out of mind.