module Roda::RodaPlugins::MatchAffix::RequestMethods
Private Instance Methods
Source
# File lib/roda/plugins/match_affix.rb, line 56 def _match_string(str) consume(self.class.cached_matcher(str){Regexp.escape(str).gsub(/:(\w+)/){|m| _match_symbol_regexp($1)}}) end
Use regexps for all string matches, so that the prefix and suffix matches work.