Open davidlehn opened 10 months ago
Where appropriate, change usage of str.match(regex) to regex.test(str) with a const regex.
str.match(regex)
regex.test(str)
Where appropriate, change usage of
str.match(regex)
toregex.test(str)
with a const regex.