function isInvalid(name) {
			return !regexp.test(name);
		}
Checks if a string matches the provided pattern
@param {string} name The string to check.
@returns {boolean} if the string is a match
@private