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.
James G. (Guest)
on 2006-02-26 17: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.