init(_:)

Creates a regex component that matches the given component exactly once.

Declaration

init(_ component: some RegexComponent<Output>)