Thanks for letting me know. Currently the code works fine with the Regex object, but fails jshint. I'll make that change.