Contents

init(_:)

Creates a capture for the given component.

Declaration

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

Parameters

  • component:

    The regex component to capture.