# File lib/journey/path/pattern.rb, line 165 def match other return unless match = to_regexp.match(other) MatchData.new names, offsets, match end