Contents

init(_:)

Creates an atomic group with the given regex component.

Declaration

init<W, C1, C2, C3, C4, C5>(@RegexComponentBuilder _ componentBuilder: () -> some RegexComponent) where Output == (Substring, C1, C2, C3, C4, C5)

Parameters

  • componentBuilder:

    A builder closure that generates a regex component to wrap in an atomic group.