cocos2d/cocos2d-js — pull request #812 by MQuy (2014-10-04 14:08:50+00:00)
Title: regex url matching causes freeze

According to v8 engine https://code.google.com/p/v8/issues/detail?id=2655, it will cause freeze when matching url. I think we should use this pattern https://gist.github.com/dperini/729294 instead of current one.