Contents

init(_:)

Creates a capture for the given component.

Declaration

init<W>(_ component: some RegexComponent) where Output == (Substring, W)

Parameters

  • component:

    The regex component to capture.