Alpha Blue wrote:
> When parsing win/loss scores from ESPN, I notice that the output looks
> perfectly normal, even when I carefully inspect the output.
>
> It looks like this:
>
> wloss = /^\w\s\d{1,2}-\d{1,2}/
> puts @rows[i][3]
[...]
Unrelated to your issue, but...what's with the [i] ? If you want to
write PHP, do it in PHP. If you want to write Ruby, use .each. :)
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---