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