module Roda::RodaPlugins::SymbolMatchers::ClassMethods

def symbol_matcher(s, re, &block)

Set the regexp to use for the given symbol, instead of the default.
def symbol_matcher(s, re, &block)
  meth = :"match_symbol_#{s}"
  array = [re, block].freeze
  self::RodaRequest.send(:define_method, meth){array}
  self::RodaRequest.send(:private, meth)
end