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 35
      def regexp_using_multiline_anchors?(regexp)
        regexp.source.start_with?("^") ||
          (regexp.source.end_with?("$") && !regexp.source.end_with?("\\$"))
      end
Register or log in to add new notes.