code: function matches(regex) {
  	return function(val) {
  		regex.lastIndex = 0;
  		return isString(val) && regex.test(val);
  	};
  }
docs: Builds a function that checks to see if a value matches a regular expression
  @param regex - the regular expression to check against
  @returns a function that takes in a value val, and returns true if it is a string that matches regex
  @memberof vet.strings