init(_:)
Creates a capture for the given component.
Declaration
init<W, C1, C2>(@RegexComponentBuilder _ componentBuilder: () -> some RegexComponent) where Output == (Substring, W, C1, C2)Parameters
- componentBuilder:
A builder closure that generates a regex component to capture.