init(_:)
Creates a capture for the given component.
Declaration
init<W, C1>(_ component: some RegexComponent) where Output == (Substring, W, C1)Parameters
- component:
The regex component to capture.
Creates a capture for the given component.
init<W, C1>(_ component: some RegexComponent) where Output == (Substring, W, C1)The regex component to capture.