module Roda::RodaPlugins::MatchAffix::RequestClassMethods

def consume_pattern(pattern)

to Roda's default prefix/suffix if one was not provided.
Use the match prefix and suffix provided when loading the plugin, or fallback
def consume_pattern(pattern)
  /\A#{roda_class.opts[:match_prefix] || PREFIX}(?:#{pattern})#{roda_class.opts[:match_suffix] || SUFFIX}/
end