News for hackers. Stuff that matters.
Re:Ruby takes 2min to match a regex by jonahx on Wednesday February 12, 2014 @01:29PM (#7226214)
I love ruby but this is bizarre. This example should not take that long.
Re:Ruby takes 2min to match a regex by anon9090909 on Wednesday February 12, 2014 @02:18PM (#7226585)
This is because of the greedy matching, and obviously a flaw in the ruby implementation details.