@unction/matchesRegExp
RegExp => string => Boolean
Compares a regular expression and a string.
matchesRegExp(/abcd/)("abcde") // true
Compares a regular expression and a string
Homepage Repository npm JavaScript Download
npm install @unction/matchesregexp@1.0.0