src code

instance method RegExp#match

RegExp#match(str) → Boolean

Return true if string matches the regular expression, false otherwise.