class Regexp

Public Instance Methods

match?(str) click to toggle source

For portability to system Ruby TODO: Correct this. The condition above is meaningless. We're always overriding this method, even if it already exists. This is fine for now, but should be improved.

# File lib/react_native_util/core_ext/regexp.rb, line 7
def match?(str)
  !match(str).nil?
end