rod mclaughlinDon't mindlessly copy regular expressions from websites (15 dec 12)
http://net.tutsplus.com/tutorials/other/8-regular-expressions-you-should-know The URL regex in this page leads to an infinite loop in Ruby 1.9.3 with Rails 3.2.9: $ rails c
"http://www.google.com/hostednews/ap/article/ALccvGQ?docId=29faa2" 1.9.3p125 :003 > LONG_URL =~ URL_REG
Back
|