class ActionDispatch::Journey::Path::Pattern::UnanchoredRegexp

:nodoc:

def accept(node)

:nodoc:
def accept(node)
  path = visit node
  path == "/" ? %r{\A/} : %r{\A#{path}(?:\b|\Z|/)}
end