instance method RegExp#match
RegExp#match(str) → Boolean
-
str
(String
) – a string against witch to match the regular expression.
Alias of the native RegExp#test
method. Returns true
if str
matches the regular expression, false
otherwise.