Sha256: ac9f850a6e61972db1afcd033455cb5f2cfb1f6265e8ce93bce257fd79c31ad5

Contents?: true

Size: 179 Bytes

Versions: 25

Compression:

Stored size: 179 Bytes

Contents

class Regexp #:nodoc:
  def multiline?
    options & MULTILINE == MULTILINE
  end

  def match?(string, pos = 0)
    !!match(string, pos)
  end unless //.respond_to?(:match?)
end

Version data entries

25 entries across 25 versions & 4 rubygems

Version Path
activesupport-5.1.7 lib/active_support/core_ext/regexp.rb
activesupport-5.1.7.rc1 lib/active_support/core_ext/regexp.rb
activesupport-5.1.6.2 lib/active_support/core_ext/regexp.rb
activesupport-5.1.6.1 lib/active_support/core_ext/regexp.rb
activesupport-5.1.6 lib/active_support/core_ext/regexp.rb
tdiary-5.0.8 vendor/bundle/gems/activesupport-5.1.5/lib/active_support/core_ext/regexp.rb
activesupport-5.1.5 lib/active_support/core_ext/regexp.rb
activesupport-5.1.5.rc1 lib/active_support/core_ext/regexp.rb
gitlab-build-output-0.0.2 lib/gitlab_build_output/core_ext/regexp.rb
gitlab-build-output-0.0.1 lib/gitlab_build_output/core_ext/regexp.rb
pract6-0.1.0 .gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/regexp.rb
activesupport-5.1.4 lib/active_support/core_ext/regexp.rb
activesupport-5.1.4.rc1 lib/active_support/core_ext/regexp.rb
activesupport-5.1.3 lib/active_support/core_ext/regexp.rb
activesupport-5.1.3.rc3 lib/active_support/core_ext/regexp.rb
activesupport-5.1.3.rc2 lib/active_support/core_ext/regexp.rb
activesupport-5.1.3.rc1 lib/active_support/core_ext/regexp.rb
tdiary-5.0.5 vendor/bundle/gems/activesupport-5.1.2/lib/active_support/core_ext/regexp.rb
activesupport-5.1.2 lib/active_support/core_ext/regexp.rb
activesupport-5.1.2.rc1 lib/active_support/core_ext/regexp.rb