matches Test whether an arbitrary value (converted to a RegExp object if necessary) regexp matches a (possibly coerced) string value.