Skip to content

re::isMatch

isMatch(value: String, pattern: Regex)

ParameterTypeDescription
valueString
patternRegex

Returns

(Boolean) Whether a match of the pattern is found anywhere in the given value.