node util.isRegExp now checking the provided regular expression