guillaumepotier/validator.js — pull request #7 by nathancharles (2014-03-12 02:58:49+00:00)
Title: Update RegExp test validation

The flag for RegExp validators was being adde to the test function.
Moved this to the RegExp constructor so it will be used properly.