module Roda::RodaPlugins::Base::RequestClassMethods

def consume_pattern(pattern)

segments.
pattern requires the path starts with a string and does not match partial
The pattern to use for consuming, based on the given argument. The returned
def consume_pattern(pattern)
  /\A\/(?:#{pattern})(?=\/|\z)/
end