class ActionDispatch::Journey::Path::Pattern::AnchoredRegexp

def visit_OR(node)

def visit_OR(node)
  children = node.children.map { |n| visit n }
  "(?:#{children.join(?|)})"
end