Flowdock
method

regexp_using_multiline_anchors?

Importance_0
regexp_using_multiline_anchors?(regexp) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/validations/format.rb, line 49
      def regexp_using_multiline_anchors?(regexp)
        source = regexp.source
        source.start_with?("^") || (source.end_with?("$") && !source.end_with?("\\$"))
      end
Register or log in to add new notes.