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.
Creates a capture for the given component.
init<W>(_ component: some RegexComponent) where Output == (Substring, W)The regex component to capture.