Prevents tainting properties of the RegExp object (fixes #5)