Static Methodswift 6.0.3RegexBuilder
buildBlock
- iOS
- 16.0+
- macOS
- 13.0+
- tvOS
- 16.0+
- watchOS
- 9.0+
static func buildBlock() -> Regex<Substring>
static func buildBlock() -> Regex<Substring>
s12RegexBuilder0a9ComponentB0O10buildBlock17_StringProcessing0A0VySsGyFZ
What are these?1TXXW
import RegexBuilder
@resultBuilder enum RegexComponentBuilder
A custom parameter attribute that constructs regular expressions from closures.
struct Regex<Output>
A regular expression.
@frozen struct Substring
A slice of a string.
static func buildExpression<R>(_ regex: R) -> R where R : RegexComponent
static func buildLimitedAvailability(_ component: some RegexComponent) -> Regex<Substring>
static func buildLimitedAvailability<W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10>(_ component: some RegexComponent) -> Regex<(Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?, C9?, C10?)>
static func buildLimitedAvailability<W, C1, C2, C3, C4, C5, C6, C7, C8, C9>(_ component: some RegexComponent) -> Regex<(Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?, C9?)>
static func buildLimitedAvailability<W, C1, C2, C3, C4, C5, C6, C7, C8>(_ component: some RegexComponent) -> Regex<(Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?)>
static func buildLimitedAvailability<W, C1, C2, C3, C4, C5, C6, C7>(_ component: some RegexComponent) -> Regex<(Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?)>
static func buildLimitedAvailability<W, C1, C2, C3, C4, C5, C6>(_ component: some RegexComponent) -> Regex<(Substring, C1?, C2?, C3?, C4?, C5?, C6?)>
static func buildLimitedAvailability<W, C1, C2, C3, C4, C5>(_ component: some RegexComponent) -> Regex<(Substring, C1?, C2?, C3?, C4?, C5?)>
static func buildLimitedAvailability<W, C1, C2, C3, C4>(_ component: some RegexComponent) -> Regex<(Substring, C1?, C2?, C3?, C4?)>
static func buildLimitedAvailability<W, C1, C2, C3>(_ component: some RegexComponent) -> Regex<(Substring, C1?, C2?, C3?)>
static func buildLimitedAvailability<W, C1, C2>(_ component: some RegexComponent) -> Regex<(Substring, C1?, C2?)>
static func buildLimitedAvailability<W, C1>(_ component: some RegexComponent) -> Regex<(Substring, C1?)>
static func buildPartialBlock<W0>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<Substring>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7, C8, C9>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7, C8, C9>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7, C8, C9>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7, C8, C9>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7, C8, C9>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7, C8, C9>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7, C8, C9>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7, C8, C9>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7, C8, C9>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7, C8>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7, C8)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7, C8>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7, C8)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7, C8>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7, C8)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7, C8>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7, C8)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7, C8>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7, C8)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7, C8>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7, C8)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7, C8>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7, C8)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7, C8>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7, C8)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4)>
static func buildPartialBlock<W0, W1, C1, C2, C3, C4>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4)>
static func buildPartialBlock<W0, W1, C1, C2, C3>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3)>
static func buildPartialBlock<W0, W1, C1, C2, C3>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3)>
static func buildPartialBlock<W0, W1, C1, C2, C3>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3)>
static func buildPartialBlock<W0, W1, C1, C2>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2)>
static func buildPartialBlock<W0, W1, C1, C2>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2)>
static func buildPartialBlock<W0, W1, C1>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1)>
static func buildPartialBlock<W0, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9)>
static func buildPartialBlock<W0, C0, C1, C2, C3, C4, C5, C6, C7, C8>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C0, C1, C2, C3, C4, C5, C6, C7, C8)>
static func buildPartialBlock<W0, C0, C1, C2, C3, C4, C5, C6, C7>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C0, C1, C2, C3, C4, C5, C6, C7)>
static func buildPartialBlock<W0, C0, C1, C2, C3, C4, C5, C6>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C0, C1, C2, C3, C4, C5, C6)>
static func buildPartialBlock<W0, C0, C1, C2, C3, C4, C5>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C0, C1, C2, C3, C4, C5)>
static func buildPartialBlock<W0, C0, C1, C2, C3, C4>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C0, C1, C2, C3, C4)>
static func buildPartialBlock<W0, C0, C1, C2, C3>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C0, C1, C2, C3)>
static func buildPartialBlock<W0, C0, C1, C2>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C0, C1, C2)>
static func buildPartialBlock<W0, C0, C1>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C0, C1)>
static func buildPartialBlock<W0, C0>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C0)>
static func buildPartialBlock<R>(first component: R) -> Regex<R.RegexOutput> where R : RegexComponent