159 160 161 162
# File 'actionpack/lib/action_dispatch/journey/path/pattern.rb', line 159 def match(other) return unless match = to_regexp.match(other) MatchData.new(names, offsets, match) end