it's silly to pass a regexp literal to the regexp constructor
Merge pull request #502 from jimmyhchan/regexp

Don't use the regexp constructor since we are using a regexp literal anyway