Module: Fusu::Regexp
Overview
:nodoc:
Instance Method Summary collapse
-
#match?(regexp, string, pos = 0) ⇒ Boolean
def multiline?(regexp) regexp.options & MULTILINE == MULTILINE end.
Instance Method Details
#match?(regexp, string, pos = 0) ⇒ Boolean
def multiline?(regexp)
regexp. & MULTILINE == MULTILINE
end
8 9 10 |
# File 'lib/fusu/regexp.rb', line 8 def match?(regexp, string, pos = 0) !!regexp.match(string, pos) end |