StructureRegexBuilder5.9.0
Optionally
A regex component that matches zero or one occurrences of its underlying component.
- iOS
- 16.0+
- macOS
- 13.0+
- tvOS
- 16.0+
- watchOS
- 9.0+
struct Optionally<Output>
Citizens in RegexBuilder
Conformances
protocol RegexComponent
A type that represents a regular expression.
Members
init(RegexRepetitionBehavior
?, () -> some RegexComponent) Creates a regex component that matches the given component zero or one times.
init(some RegexComponent, RegexRepetitionBehavior
?) Creates a regex component that matches the given component zero or one times.
init<W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10>(RegexRepetitionBehavior
?, () -> some RegexComponent) Creates a regex component that matches the given component zero or one times.
init<W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10>(some RegexComponent, RegexRepetitionBehavior
?) Creates a regex component that matches the given component zero or one times.
init<W, C1, C2, C3, C4, C5, C6, C7, C8, C9>(RegexRepetitionBehavior
?, () -> some RegexComponent) Creates a regex component that matches the given component zero or one times.
init<W, C1, C2, C3, C4, C5, C6, C7, C8, C9>(some RegexComponent, RegexRepetitionBehavior
?) Creates a regex component that matches the given component zero or one times.
init<W, C1, C2, C3, C4, C5, C6, C7, C8>(RegexRepetitionBehavior
?, () -> some RegexComponent) Creates a regex component that matches the given component zero or one times.
init<W, C1, C2, C3, C4, C5, C6, C7, C8>(some RegexComponent, RegexRepetitionBehavior
?) Creates a regex component that matches the given component zero or one times.
init<W, C1, C2, C3, C4, C5, C6, C7>(RegexRepetitionBehavior
?, () -> some RegexComponent) Creates a regex component that matches the given component zero or one times.
init<W, C1, C2, C3, C4, C5, C6, C7>(some RegexComponent, RegexRepetitionBehavior
?) Creates a regex component that matches the given component zero or one times.
init<W, C1, C2, C3, C4, C5, C6>(RegexRepetitionBehavior
?, () -> some RegexComponent) Creates a regex component that matches the given component zero or one times.
init<W, C1, C2, C3, C4, C5, C6>(some RegexComponent, RegexRepetitionBehavior
?) Creates a regex component that matches the given component zero or one times.
init<W, C1, C2, C3, C4, C5>(RegexRepetitionBehavior
?, () -> some RegexComponent) Creates a regex component that matches the given component zero or one times.
init<W, C1, C2, C3, C4, C5>(some RegexComponent, RegexRepetitionBehavior
?) Creates a regex component that matches the given component zero or one times.
init<W, C1, C2, C3, C4>(RegexRepetitionBehavior
?, () -> some RegexComponent) Creates a regex component that matches the given component zero or one times.
init<W, C1, C2, C3, C4>(some RegexComponent, RegexRepetitionBehavior
?) Creates a regex component that matches the given component zero or one times.
init<W, C1, C2, C3>(RegexRepetitionBehavior
?, () -> some RegexComponent) Creates a regex component that matches the given component zero or one times.
init<W, C1, C2, C3>(some RegexComponent, RegexRepetitionBehavior
?) Creates a regex component that matches the given component zero or one times.
init<W, C1, C2>(RegexRepetitionBehavior
?, () -> some RegexComponent) Creates a regex component that matches the given component zero or one times.
init<W, C1, C2>(some RegexComponent, RegexRepetitionBehavior
?) Creates a regex component that matches the given component zero or one times.
init<W, C1>(RegexRepetitionBehavior
?, () -> some RegexComponent) Creates a regex component that matches the given component zero or one times.
init<W, C1>(some RegexComponent, RegexRepetitionBehavior
?) Creates a regex component that matches the given component zero or one times.
var regex: Regex<Output>