Looking to clean up a small ruby script.
        Posted  
        
            by Badweather
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Badweather
        
        
        
        Published on 2010-04-13T23:21:59Z
        Indexed on 
            2010/04/13
            23:22 UTC
        
        
        Read the original article
        Hit count: 211
        
ruby
I'm looking for a much more idiomatic way to do the following little ruby script.
File.open("channels.xml").each do |line|
  if line.match('(mms:\/\/{1}[a-zA-Z\.\d\/\w-]+)')
    puts line.match('(mms:\/\/{1}[a-zA-Z\.\d\/\w-]+)')
  end
end
Thanks in advance for any suggestions.
© Stack Overflow or respective owner