Forum: Ruby Fwd: Ruby Quiz Submission

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
4299e35bacef054df40583da2d51edea?d=identicon&s=25 James Gray (bbazzarrakk)
on 2006-02-26 16:56
(Received via mailing list)
Begin forwarded message:

> open("{ARGV.shift}") do |page|
>   page.readlines.join =~ /<b>Weather<\/b> for <b>(.*?)<\/b>.*>(\d+)
> &deg;F/
>   puts "The temperature in #{$1} is #{$2} degrees F."
> end

Begin forwarded message:
This topic is locked and can not be replied to.