# File lib/merb-core/dispatch/router/behavior.rb, line 676 def deduce_placeholders @conditions.each_pair do |match_key, source| while match = SEGMENT_REGEXP.match(source) source.sub! SEGMENT_REGEXP, PARENTHETICAL_SEGMENT_STRING unless match[2] == ':' # No need to store anonymous place holders placeholder_key = match[2].intern @params[placeholder_key] = "#{match[1]}" @placeholders[placeholder_key] = [ match_key, Behavior.count_parens_up_to(source, match.offset(1)[0]) ] end end end end