module Roda::RodaPlugins::SymbolMatchers

def self.configure(app)

def self.configure(app)
  app.symbol_matcher(:d, /(\d+)/)
  app.symbol_matcher(:w, /(\w+)/)
  app.symbol_matcher(:rest, /(.*)/)
  if !app.opts[:verbatim_string_matcher]
    app.symbol_matcher(:format, /(?:\.(\w+))?/)
    app.symbol_matcher(:opt, /(?:\/([^\/]+))?/)
    app.symbol_matcher(:optd, /(?:\/(\d+))?/)
  end
end