class Regexp

Regexp class extending Helpers from Rails

Public Instance Methods

match?(string, pos=0) click to toggle source
# File lib/marfa/helpers/classes/regexp.rb, line 8
def match?(string, pos=0)
  !!match(string, pos)
end
multiline?() click to toggle source
# File lib/marfa/helpers/classes/regexp.rb, line 4
def multiline?
  options & MULTILINE == MULTILINE
end