method

regexp_chunk

regexp_chunk()
public

No documentation available.

# File actionpack/lib/action_controller/routing/segments.rb, line 193
      def regexp_chunk
        if regexp
          if regexp_has_modifiers?
            "(#{regexp.to_s})"
          else
            "(#{regexp.source})"
          end
        else
          "([^#{Routing::SEPARATORS.join}]+)"
        end
      end