Module: Roda::RodaPlugins::SymbolRegexpMatchers::RequestMethods

Defined in:
lib/roda/plugins/_symbol_regexp_matchers.rb

Instance Method Summary collapse

Instance Method Details

#_match_symbol_regexp(s) ⇒ Object

The regular expression to use for matching symbols. By default, any non-empty segment matches.



13
14
15
# File 'lib/roda/plugins/_symbol_regexp_matchers.rb', line 13

def _match_symbol_regexp(s)
  "([^\\/]+)"
end