nameRegex() needs to be prototype