init(_:)

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

iOS
16.0+
macOS
13.0+
tvOS
16.0+
watchOS
9.0+
init(_ component: some RegexComponent<Output>)