// swift-interface-format-version: 1.0 // swift-compiler-version: Apple Swift version 6.3 effective-5.10 (swiftlang-6.3.0.123.4 clang-2100.0.123.2) // swift-module-flags: -target arm64e-apple-macosx26.4 -target-variant arm64e-apple-ios26.4-macabi -enable-objc-interop -enable-library-evolution -module-link-name swiftRegexBuilder -swift-version 5 -O -library-level api -enforce-exclusivity=unchecked -target-min-inlining-version min -enable-experimental-feature NoncopyableGenerics2 -enable-experimental-feature SuppressedAssociatedTypes -enable-experimental-feature SE427NoInferenceOnExtension -enable-experimental-feature NonescapableTypes -enable-experimental-feature LifetimeDependence -enable-experimental-feature InoutLifetimeDependence -enable-experimental-feature LifetimeDependenceMutableAccessors -enable-upcoming-feature MemberImportVisibility -user-module-version 6.3.0.123.11 -module-name RegexBuilder // swift-module-flags-ignorable: -enable-lexical-lifetimes=false -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3 import Swift import _StringProcessing extension Swift.BidirectionalCollection where Self.SubSequence == Swift.Substring { @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public func wholeMatch(@RegexBuilder.RegexComponentBuilder of content: () -> some RegexComponent) -> _StringProcessing.Regex.Match? @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public func prefixMatch(@RegexBuilder.RegexComponentBuilder of content: () -> some RegexComponent) -> _StringProcessing.Regex.Match? @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public func contains(@RegexBuilder.RegexComponentBuilder _ content: () -> some RegexComponent) -> Swift.Bool @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public func firstRange(@RegexBuilder.RegexComponentBuilder of content: () -> some RegexComponent) -> Swift.Range? @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public func ranges(@RegexBuilder.RegexComponentBuilder of content: () -> some RegexComponent) -> [Swift.Range] @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public func split(maxSplits: Swift.Int = Int.max, omittingEmptySubsequences: Swift.Bool = true, @RegexBuilder.RegexComponentBuilder separator: () -> some RegexComponent) -> [Self.SubSequence] @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public func starts(@RegexBuilder.RegexComponentBuilder with content: () -> some RegexComponent) -> Swift.Bool @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public func trimmingPrefix(@RegexBuilder.RegexComponentBuilder _ content: () -> some RegexComponent) -> Self.SubSequence @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public func firstMatch(@RegexBuilder.RegexComponentBuilder of content: () -> some RegexComponent) -> _StringProcessing.Regex.Match? @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public func matches(@RegexBuilder.RegexComponentBuilder of content: () -> some RegexComponent) -> [_StringProcessing.Regex.Match] } extension Swift.RangeReplaceableCollection where Self : Swift.BidirectionalCollection, Self.SubSequence == Swift.Substring { @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public mutating func trimPrefix(@RegexBuilder.RegexComponentBuilder _ content: () -> some RegexComponent) @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public func replacing(with replacement: Replacement, subrange: Swift.Range, maxReplacements: Swift.Int = .max, @RegexBuilder.RegexComponentBuilder content: () -> some RegexComponent) -> Self where Replacement : Swift.Collection, Replacement.Element == Swift.Character @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public func replacing(with replacement: Replacement, maxReplacements: Swift.Int = .max, @RegexBuilder.RegexComponentBuilder content: () -> some RegexComponent) -> Self where Replacement : Swift.Collection, Replacement.Element == Swift.Character @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public mutating func replace(with replacement: Replacement, maxReplacements: Swift.Int = .max, @RegexBuilder.RegexComponentBuilder content: () -> some RegexComponent) where Replacement : Swift.Collection, Replacement.Element == Swift.Character @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public func replacing(subrange: Swift.Range, maxReplacements: Swift.Int = .max, @RegexBuilder.RegexComponentBuilder content: () -> some RegexComponent, with replacement: (_StringProcessing.Regex.Match) throws -> Replacement) rethrows -> Self where Replacement : Swift.Collection, Replacement.Element == Swift.Character @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public func replacing(maxReplacements: Swift.Int = .max, @RegexBuilder.RegexComponentBuilder content: () -> some RegexComponent, with replacement: (_StringProcessing.Regex.Match) throws -> Replacement) rethrows -> Self where Replacement : Swift.Collection, Replacement.Element == Swift.Character @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public mutating func replace(maxReplacements: Swift.Int = .max, @RegexBuilder.RegexComponentBuilder content: () -> some RegexComponent, with replacement: (_StringProcessing.Regex.Match) throws -> Replacement) rethrows where Replacement : Swift.Collection, Replacement.Element == Swift.Character } extension Swift.StringProtocol where Self.SubSequence == Swift.Substring { @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public func split(separator: Swift.String, maxSplits: Swift.Int = .max, omittingEmptySubsequences: Swift.Bool = true) -> [Swift.Substring] @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public func split(separator: Swift.Substring, maxSplits: Swift.Int = .max, omittingEmptySubsequences: Swift.Bool = true) -> [Swift.Substring] } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public struct Anchor { } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Anchor : _StringProcessing.RegexComponent { public var regex: _StringProcessing.Regex { get } @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) public typealias RegexOutput = Swift.Substring } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Anchor { public static var startOfSubject: RegexBuilder.Anchor { get } public static var endOfSubjectBeforeNewline: RegexBuilder.Anchor { get } public static var endOfSubject: RegexBuilder.Anchor { get } public static var firstMatchingPositionInSubject: RegexBuilder.Anchor { get } public static var textSegmentBoundary: RegexBuilder.Anchor { get } public static var startOfLine: RegexBuilder.Anchor { get } public static var endOfLine: RegexBuilder.Anchor { get } public static var wordBoundary: RegexBuilder.Anchor { get } public var inverted: RegexBuilder.Anchor { get } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public struct Lookahead { public var regex: _StringProcessing.Regex public init(_ component: R) where Output == R.RegexOutput, R : _StringProcessing.RegexComponent public init(@RegexBuilder.RegexComponentBuilder _ component: () -> R) where Output == R.RegexOutput, R : _StringProcessing.RegexComponent @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) public typealias RegexOutput = Output } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public struct NegativeLookahead { public var regex: _StringProcessing.Regex public init(_ component: R) where Output == R.RegexOutput, R : _StringProcessing.RegexComponent public init(@RegexBuilder.RegexComponentBuilder _ component: () -> R) where Output == R.RegexOutput, R : _StringProcessing.RegexComponent @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) public typealias RegexOutput = Output } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) @_functionBuilder public enum RegexComponentBuilder { public static func buildBlock() -> _StringProcessing.Regex public static func buildPartialBlock(first component: R) -> _StringProcessing.Regex where R : _StringProcessing.RegexComponent public static func buildExpression(_ regex: R) -> R where R : _StringProcessing.RegexComponent } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public struct CharacterClass { } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.CharacterClass : _StringProcessing.RegexComponent { public var regex: _StringProcessing.Regex { get } @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) public typealias RegexOutput = Swift.Substring } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.CharacterClass { public var inverted: RegexBuilder.CharacterClass { get } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension _StringProcessing.RegexComponent where Self == RegexBuilder.CharacterClass { public static var any: RegexBuilder.CharacterClass { get } public static var anyNonNewline: RegexBuilder.CharacterClass { get } public static var anyGraphemeCluster: RegexBuilder.CharacterClass { get } public static var digit: RegexBuilder.CharacterClass { get } public static var hexDigit: RegexBuilder.CharacterClass { get } public static var word: RegexBuilder.CharacterClass { get } public static var whitespace: RegexBuilder.CharacterClass { get } public static var horizontalWhitespace: RegexBuilder.CharacterClass { get } public static var newlineSequence: RegexBuilder.CharacterClass { get } public static var verticalWhitespace: RegexBuilder.CharacterClass { get } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension _StringProcessing.RegexComponent where Self == RegexBuilder.CharacterClass { public static func anyOf(_ s: S) -> RegexBuilder.CharacterClass where S : Swift.Sequence, S.Element == Swift.Character public static func anyOf(_ s: S) -> RegexBuilder.CharacterClass where S : Swift.Sequence, S.Element == Swift.Unicode.Scalar } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.CharacterClass { public static func generalCategory(_ category: Swift.Unicode.GeneralCategory) -> RegexBuilder.CharacterClass } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public func ... (lhs: Swift.Character, rhs: Swift.Character) -> RegexBuilder.CharacterClass @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) @_disfavoredOverload public func ... (lhs: Swift.UnicodeScalar, rhs: Swift.UnicodeScalar) -> RegexBuilder.CharacterClass @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension _StringProcessing.RegexComponent where Self == RegexBuilder.CharacterClass { public init(_ first: RegexBuilder.CharacterClass, _ rest: RegexBuilder.CharacterClass...) } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.CharacterClass { public func union(_ other: RegexBuilder.CharacterClass) -> RegexBuilder.CharacterClass public func intersection(_ other: RegexBuilder.CharacterClass) -> RegexBuilder.CharacterClass public func subtracting(_ other: RegexBuilder.CharacterClass) -> RegexBuilder.CharacterClass public func symmetricDifference(_ other: RegexBuilder.CharacterClass) -> RegexBuilder.CharacterClass } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension _StringProcessing.Regex { public init(@RegexBuilder.RegexComponentBuilder _ content: () -> some RegexComponent) } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension Swift.String : @retroactive _StringProcessing.RegexComponent { public typealias Output = Swift.Substring public var regex: _StringProcessing.Regex { get } @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) public typealias RegexOutput = Swift.String.Output } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension Swift.Substring : @retroactive _StringProcessing.RegexComponent { public typealias Output = Swift.Substring public var regex: _StringProcessing.Regex { get } @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) public typealias RegexOutput = Swift.Substring.Output } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension Swift.Character : @retroactive _StringProcessing.RegexComponent { public typealias Output = Swift.Substring public var regex: _StringProcessing.Regex { get } @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) public typealias RegexOutput = Swift.Character.Output } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension Swift.Unicode.Scalar : @retroactive _StringProcessing.RegexComponent { public typealias Output = Swift.Substring public var regex: _StringProcessing.Regex { get } @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) public typealias RegexOutput = Swift.Unicode.Scalar.Output } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public struct One : _StringProcessing.RegexComponent { public var regex: _StringProcessing.Regex public init(_ component: some RegexComponent) @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) public typealias RegexOutput = Output } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public struct OneOrMore { public var regex: _StringProcessing.Regex @usableFromInline internal init(_ regex: _StringProcessing.Regex) @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) public typealias RegexOutput = Output } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public struct ZeroOrMore { public var regex: _StringProcessing.Regex @usableFromInline internal init(_ regex: _StringProcessing.Regex) @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) public typealias RegexOutput = Output } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public struct Optionally { public var regex: _StringProcessing.Regex @usableFromInline internal init(_ regex: _StringProcessing.Regex) @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) public typealias RegexOutput = Output } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public struct Repeat { public var regex: _StringProcessing.Regex @usableFromInline internal init(_ regex: _StringProcessing.Regex) @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) public typealias RegexOutput = Output } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) @_functionBuilder public struct AlternationBuilder { @_disfavoredOverload public static func buildPartialBlock(first component: R) -> RegexBuilder.ChoiceOf where R : _StringProcessing.RegexComponent public static func buildExpression(_ regex: R) -> R where R : _StringProcessing.RegexComponent } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public struct ChoiceOf { public var regex: _StringProcessing.Regex @usableFromInline internal init(_ regex: _StringProcessing.Regex) public init(@RegexBuilder.AlternationBuilder _ builder: () -> RegexBuilder.ChoiceOf) @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) public typealias RegexOutput = Output } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public struct Capture { public var regex: _StringProcessing.Regex @usableFromInline internal init(_ regex: _StringProcessing.Regex) @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) public typealias RegexOutput = Output } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public struct TryCapture { public var regex: _StringProcessing.Regex @usableFromInline internal init(_ regex: _StringProcessing.Regex) @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) public typealias RegexOutput = Output } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public struct Local { public var regex: _StringProcessing.Regex @usableFromInline internal init(_ regex: _StringProcessing.Regex) @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) public typealias RegexOutput = Output } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) public struct Reference : _StringProcessing.RegexComponent { public init(_ captureType: Capture.Type = Capture.self) @usableFromInline internal var _raw: Swift.Int { get } public var regex: _StringProcessing.Regex { get } @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) public typealias RegexOutput = Capture } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension _StringProcessing.Regex.Match { public subscript(reference: RegexBuilder.Reference) -> Capture { get } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) @usableFromInline internal func makeFactory() -> _StringProcessing._RegexFactory @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension _StringProcessing._RegexFactory { @_alwaysEmitIntoClient internal func accumulate(_ left: some RegexComponent, ignoringOutputTypeOf right: some RegexComponent) -> _StringProcessing.Regex { if #available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *) { return accumulate(left, ignoreCapturesInTypedOutput(right)) } return accumulate(left, right) } @_alwaysEmitIntoClient internal func accumulate(ignoringOutputTypeOf left: some RegexComponent, _ right: some RegexComponent) -> _StringProcessing.Regex { if #available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *) { return accumulate(ignoreCapturesInTypedOutput(left), right) } return accumulate(left, right) } @_alwaysEmitIntoClient internal func accumulate(ignoringOutputTypeOf left: some RegexComponent, andAlso right: some RegexComponent) -> _StringProcessing.Regex { if #available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *) { return accumulate( ignoreCapturesInTypedOutput(left), ignoreCapturesInTypedOutput(right)) } return accumulate(left, right) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent, next: some RegexComponent<(W1, C1)>) -> _StringProcessing.Regex<(Swift.Substring, C1)> { let factory = makeFactory() return factory.accumulate(ignoringOutputTypeOf: accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent, next: some RegexComponent<(W1, C1, C2)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2)> { let factory = makeFactory() return factory.accumulate(ignoringOutputTypeOf: accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent, next: some RegexComponent<(W1, C1, C2, C3)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3)> { let factory = makeFactory() return factory.accumulate(ignoringOutputTypeOf: accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent, next: some RegexComponent<(W1, C1, C2, C3, C4)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4)> { let factory = makeFactory() return factory.accumulate(ignoringOutputTypeOf: accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent, next: some RegexComponent<(W1, C1, C2, C3, C4, C5)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5)> { let factory = makeFactory() return factory.accumulate(ignoringOutputTypeOf: accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent, next: some RegexComponent<(W1, C1, C2, C3, C4, C5, C6)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6)> { let factory = makeFactory() return factory.accumulate(ignoringOutputTypeOf: accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent, next: some RegexComponent<(W1, C1, C2, C3, C4, C5, C6, C7)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7)> { let factory = makeFactory() return factory.accumulate(ignoringOutputTypeOf: accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent, next: some RegexComponent<(W1, C1, C2, C3, C4, C5, C6, C7, C8)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8)> { let factory = makeFactory() return factory.accumulate(ignoringOutputTypeOf: accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent, next: some RegexComponent<(W1, C1, C2, C3, C4, C5, C6, C7, C8, C9)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9)> { let factory = makeFactory() return factory.accumulate(ignoringOutputTypeOf: accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent, next: some RegexComponent<(W1, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)> { let factory = makeFactory() return factory.accumulate(ignoringOutputTypeOf: accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1)>, next: some RegexComponent<(W1, C2)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1)>, next: some RegexComponent<(W1, C2, C3)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1)>, next: some RegexComponent<(W1, C2, C3, C4)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1)>, next: some RegexComponent<(W1, C2, C3, C4, C5)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1)>, next: some RegexComponent<(W1, C2, C3, C4, C5, C6)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1)>, next: some RegexComponent<(W1, C2, C3, C4, C5, C6, C7)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1)>, next: some RegexComponent<(W1, C2, C3, C4, C5, C6, C7, C8)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1)>, next: some RegexComponent<(W1, C2, C3, C4, C5, C6, C7, C8, C9)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1)>, next: some RegexComponent<(W1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2)>, next: some RegexComponent<(W1, C3)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2)>, next: some RegexComponent<(W1, C3, C4)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2)>, next: some RegexComponent<(W1, C3, C4, C5)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2)>, next: some RegexComponent<(W1, C3, C4, C5, C6)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2)>, next: some RegexComponent<(W1, C3, C4, C5, C6, C7)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2)>, next: some RegexComponent<(W1, C3, C4, C5, C6, C7, C8)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2)>, next: some RegexComponent<(W1, C3, C4, C5, C6, C7, C8, C9)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2)>, next: some RegexComponent<(W1, C3, C4, C5, C6, C7, C8, C9, C10)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3)>, next: some RegexComponent<(W1, C4)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3)>, next: some RegexComponent<(W1, C4, C5)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3)>, next: some RegexComponent<(W1, C4, C5, C6)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3)>, next: some RegexComponent<(W1, C4, C5, C6, C7)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3)>, next: some RegexComponent<(W1, C4, C5, C6, C7, C8)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3)>, next: some RegexComponent<(W1, C4, C5, C6, C7, C8, C9)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3)>, next: some RegexComponent<(W1, C4, C5, C6, C7, C8, C9, C10)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4)>, next: some RegexComponent<(W1, C5)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4)>, next: some RegexComponent<(W1, C5, C6)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4)>, next: some RegexComponent<(W1, C5, C6, C7)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4)>, next: some RegexComponent<(W1, C5, C6, C7, C8)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4)>, next: some RegexComponent<(W1, C5, C6, C7, C8, C9)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4)>, next: some RegexComponent<(W1, C5, C6, C7, C8, C9, C10)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5)>, next: some RegexComponent<(W1, C6)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5)>, next: some RegexComponent<(W1, C6, C7)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5)>, next: some RegexComponent<(W1, C6, C7, C8)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5)>, next: some RegexComponent<(W1, C6, C7, C8, C9)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5)>, next: some RegexComponent<(W1, C6, C7, C8, C9, C10)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5, C6)>, next: some RegexComponent<(W1, C7)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5, C6)>, next: some RegexComponent<(W1, C7, C8)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5, C6)>, next: some RegexComponent<(W1, C7, C8, C9)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5, C6)>, next: some RegexComponent<(W1, C7, C8, C9, C10)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5, C6, C7)>, next: some RegexComponent<(W1, C8)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5, C6, C7)>, next: some RegexComponent<(W1, C8, C9)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5, C6, C7)>, next: some RegexComponent<(W1, C8, C9, C10)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5, C6, C7, C8)>, next: some RegexComponent<(W1, C9)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5, C6, C7, C8)>, next: some RegexComponent<(W1, C9, C10)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5, C6, C7, C8, C9)>, next: some RegexComponent<(W1, C10)>) -> _StringProcessing.Regex<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)> { let factory = makeFactory() return factory.accumulate(accumulated, next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent, next: some RegexComponent) -> _StringProcessing.Regex { let factory = makeFactory() return factory.accumulate(ignoringOutputTypeOf: accumulated, andAlso: next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C0)>, next: some RegexComponent) -> _StringProcessing.Regex<(Swift.Substring, C0)> { let factory = makeFactory() return factory.accumulate(accumulated, ignoringOutputTypeOf: next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C0, C1)>, next: some RegexComponent) -> _StringProcessing.Regex<(Swift.Substring, C0, C1)> { let factory = makeFactory() return factory.accumulate(accumulated, ignoringOutputTypeOf: next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C0, C1, C2)>, next: some RegexComponent) -> _StringProcessing.Regex<(Swift.Substring, C0, C1, C2)> { let factory = makeFactory() return factory.accumulate(accumulated, ignoringOutputTypeOf: next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C0, C1, C2, C3)>, next: some RegexComponent) -> _StringProcessing.Regex<(Swift.Substring, C0, C1, C2, C3)> { let factory = makeFactory() return factory.accumulate(accumulated, ignoringOutputTypeOf: next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C0, C1, C2, C3, C4)>, next: some RegexComponent) -> _StringProcessing.Regex<(Swift.Substring, C0, C1, C2, C3, C4)> { let factory = makeFactory() return factory.accumulate(accumulated, ignoringOutputTypeOf: next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C0, C1, C2, C3, C4, C5)>, next: some RegexComponent) -> _StringProcessing.Regex<(Swift.Substring, C0, C1, C2, C3, C4, C5)> { let factory = makeFactory() return factory.accumulate(accumulated, ignoringOutputTypeOf: next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C0, C1, C2, C3, C4, C5, C6)>, next: some RegexComponent) -> _StringProcessing.Regex<(Swift.Substring, C0, C1, C2, C3, C4, C5, C6)> { let factory = makeFactory() return factory.accumulate(accumulated, ignoringOutputTypeOf: next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C0, C1, C2, C3, C4, C5, C6, C7)>, next: some RegexComponent) -> _StringProcessing.Regex<(Swift.Substring, C0, C1, C2, C3, C4, C5, C6, C7)> { let factory = makeFactory() return factory.accumulate(accumulated, ignoringOutputTypeOf: next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C0, C1, C2, C3, C4, C5, C6, C7, C8)>, next: some RegexComponent) -> _StringProcessing.Regex<(Swift.Substring, C0, C1, C2, C3, C4, C5, C6, C7, C8)> { let factory = makeFactory() return factory.accumulate(accumulated, ignoringOutputTypeOf: next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9)>, next: some RegexComponent) -> _StringProcessing.Regex<(Swift.Substring, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9)> { let factory = makeFactory() return factory.accumulate(accumulated, ignoringOutputTypeOf: next) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Optionally { @_disfavoredOverload @_alwaysEmitIntoClient public init(_ component: some RegexComponent, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == Swift.Substring { let factory = makeFactory() self.init(factory.zeroOrOne(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Optionally { @_disfavoredOverload @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent) where Output == Swift.Substring { let factory = makeFactory() self.init(factory.zeroOrOne(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildLimitedAvailability(_ component: some RegexComponent) -> _StringProcessing.Regex { let factory = makeFactory() return factory.zeroOrOne(component, nil) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.ZeroOrMore { @_disfavoredOverload @_alwaysEmitIntoClient public init(_ component: some RegexComponent, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == Swift.Substring { let factory = makeFactory() self.init(factory.zeroOrMore(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.ZeroOrMore { @_disfavoredOverload @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent) where Output == Swift.Substring { let factory = makeFactory() self.init(factory.zeroOrMore(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.OneOrMore { @_disfavoredOverload @_alwaysEmitIntoClient public init(_ component: some RegexComponent, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == Swift.Substring { let factory = makeFactory() self.init(factory.oneOrMore(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.OneOrMore { @_disfavoredOverload @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent) where Output == Swift.Substring { let factory = makeFactory() self.init(factory.oneOrMore(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Repeat { @_disfavoredOverload @_alwaysEmitIntoClient public init(_ component: some RegexComponent, count: Swift.Int) where Output == Swift.Substring { precondition(count >= 0, "Must specify a positive count") let factory = makeFactory() self.init(factory.exactly(count, component)) } @_disfavoredOverload @_alwaysEmitIntoClient public init(count: Swift.Int, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent) where Output == Swift.Substring { precondition(count >= 0, "Must specify a positive count") let factory = makeFactory() self.init(factory.exactly(count, componentBuilder())) } @_disfavoredOverload @_alwaysEmitIntoClient public init(_ component: some RegexComponent, _ expression: some RangeExpression, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == Swift.Substring { let factory = makeFactory() self.init(factory.repeating(expression.relative(to: 0.., _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent) where Output == Swift.Substring { let factory = makeFactory() self.init(factory.repeating(expression.relative(to: 0..(_ component: some RegexComponent<(W, C1)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?) { let factory = makeFactory() self.init(factory.zeroOrOne(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Optionally { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1)>) where Output == (Swift.Substring, C1?) { let factory = makeFactory() self.init(factory.zeroOrOne(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildLimitedAvailability(_ component: some RegexComponent<(W, C1)>) -> _StringProcessing.Regex<(Swift.Substring, C1?)> { let factory = makeFactory() return factory.zeroOrOne(component, nil) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.ZeroOrMore { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?) { let factory = makeFactory() self.init(factory.zeroOrMore(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.ZeroOrMore { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1)>) where Output == (Swift.Substring, C1?) { let factory = makeFactory() self.init(factory.zeroOrMore(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.OneOrMore { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1) { let factory = makeFactory() self.init(factory.oneOrMore(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.OneOrMore { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1)>) where Output == (Swift.Substring, C1) { let factory = makeFactory() self.init(factory.oneOrMore(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Repeat { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1)>, count: Swift.Int) where Output == (Swift.Substring, C1?) { precondition(count >= 0, "Must specify a positive count") let factory = makeFactory() self.init(factory.exactly(count, component)) } @_alwaysEmitIntoClient public init(count: Swift.Int, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1)>) where Output == (Swift.Substring, C1?) { precondition(count >= 0, "Must specify a positive count") let factory = makeFactory() self.init(factory.exactly(count, componentBuilder())) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1)>, _ expression: some RangeExpression, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?) { let factory = makeFactory() self.init(factory.repeating(expression.relative(to: 0..(_ expression: some RangeExpression, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1)>) where Output == (Swift.Substring, C1?) { let factory = makeFactory() self.init(factory.repeating(expression.relative(to: 0..(_ component: some RegexComponent<(W, C1, C2)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?, C2?) { let factory = makeFactory() self.init(factory.zeroOrOne(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Optionally { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2)>) where Output == (Swift.Substring, C1?, C2?) { let factory = makeFactory() self.init(factory.zeroOrOne(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildLimitedAvailability(_ component: some RegexComponent<(W, C1, C2)>) -> _StringProcessing.Regex<(Swift.Substring, C1?, C2?)> { let factory = makeFactory() return factory.zeroOrOne(component, nil) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.ZeroOrMore { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?, C2?) { let factory = makeFactory() self.init(factory.zeroOrMore(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.ZeroOrMore { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2)>) where Output == (Swift.Substring, C1?, C2?) { let factory = makeFactory() self.init(factory.zeroOrMore(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.OneOrMore { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1, C2) { let factory = makeFactory() self.init(factory.oneOrMore(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.OneOrMore { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2)>) where Output == (Swift.Substring, C1, C2) { let factory = makeFactory() self.init(factory.oneOrMore(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Repeat { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2)>, count: Swift.Int) where Output == (Swift.Substring, C1?, C2?) { precondition(count >= 0, "Must specify a positive count") let factory = makeFactory() self.init(factory.exactly(count, component)) } @_alwaysEmitIntoClient public init(count: Swift.Int, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2)>) where Output == (Swift.Substring, C1?, C2?) { precondition(count >= 0, "Must specify a positive count") let factory = makeFactory() self.init(factory.exactly(count, componentBuilder())) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2)>, _ expression: some RangeExpression, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?, C2?) { let factory = makeFactory() self.init(factory.repeating(expression.relative(to: 0..(_ expression: some RangeExpression, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2)>) where Output == (Swift.Substring, C1?, C2?) { let factory = makeFactory() self.init(factory.repeating(expression.relative(to: 0..(_ component: some RegexComponent<(W, C1, C2, C3)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?, C2?, C3?) { let factory = makeFactory() self.init(factory.zeroOrOne(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Optionally { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3)>) where Output == (Swift.Substring, C1?, C2?, C3?) { let factory = makeFactory() self.init(factory.zeroOrOne(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildLimitedAvailability(_ component: some RegexComponent<(W, C1, C2, C3)>) -> _StringProcessing.Regex<(Swift.Substring, C1?, C2?, C3?)> { let factory = makeFactory() return factory.zeroOrOne(component, nil) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.ZeroOrMore { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?, C2?, C3?) { let factory = makeFactory() self.init(factory.zeroOrMore(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.ZeroOrMore { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3)>) where Output == (Swift.Substring, C1?, C2?, C3?) { let factory = makeFactory() self.init(factory.zeroOrMore(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.OneOrMore { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1, C2, C3) { let factory = makeFactory() self.init(factory.oneOrMore(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.OneOrMore { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3)>) where Output == (Swift.Substring, C1, C2, C3) { let factory = makeFactory() self.init(factory.oneOrMore(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Repeat { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3)>, count: Swift.Int) where Output == (Swift.Substring, C1?, C2?, C3?) { precondition(count >= 0, "Must specify a positive count") let factory = makeFactory() self.init(factory.exactly(count, component)) } @_alwaysEmitIntoClient public init(count: Swift.Int, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3)>) where Output == (Swift.Substring, C1?, C2?, C3?) { precondition(count >= 0, "Must specify a positive count") let factory = makeFactory() self.init(factory.exactly(count, componentBuilder())) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3)>, _ expression: some RangeExpression, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?, C2?, C3?) { let factory = makeFactory() self.init(factory.repeating(expression.relative(to: 0..(_ expression: some RangeExpression, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3)>) where Output == (Swift.Substring, C1?, C2?, C3?) { let factory = makeFactory() self.init(factory.repeating(expression.relative(to: 0..(_ component: some RegexComponent<(W, C1, C2, C3, C4)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?, C2?, C3?, C4?) { let factory = makeFactory() self.init(factory.zeroOrOne(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Optionally { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4)>) where Output == (Swift.Substring, C1?, C2?, C3?, C4?) { let factory = makeFactory() self.init(factory.zeroOrOne(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildLimitedAvailability(_ component: some RegexComponent<(W, C1, C2, C3, C4)>) -> _StringProcessing.Regex<(Swift.Substring, C1?, C2?, C3?, C4?)> { let factory = makeFactory() return factory.zeroOrOne(component, nil) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.ZeroOrMore { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?, C2?, C3?, C4?) { let factory = makeFactory() self.init(factory.zeroOrMore(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.ZeroOrMore { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4)>) where Output == (Swift.Substring, C1?, C2?, C3?, C4?) { let factory = makeFactory() self.init(factory.zeroOrMore(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.OneOrMore { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1, C2, C3, C4) { let factory = makeFactory() self.init(factory.oneOrMore(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.OneOrMore { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4)>) where Output == (Swift.Substring, C1, C2, C3, C4) { let factory = makeFactory() self.init(factory.oneOrMore(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Repeat { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4)>, count: Swift.Int) where Output == (Swift.Substring, C1?, C2?, C3?, C4?) { precondition(count >= 0, "Must specify a positive count") let factory = makeFactory() self.init(factory.exactly(count, component)) } @_alwaysEmitIntoClient public init(count: Swift.Int, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4)>) where Output == (Swift.Substring, C1?, C2?, C3?, C4?) { precondition(count >= 0, "Must specify a positive count") let factory = makeFactory() self.init(factory.exactly(count, componentBuilder())) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4)>, _ expression: some RangeExpression, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?, C2?, C3?, C4?) { let factory = makeFactory() self.init(factory.repeating(expression.relative(to: 0..(_ expression: some RangeExpression, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4)>) where Output == (Swift.Substring, C1?, C2?, C3?, C4?) { let factory = makeFactory() self.init(factory.repeating(expression.relative(to: 0..(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?) { let factory = makeFactory() self.init(factory.zeroOrOne(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Optionally { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5)>) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?) { let factory = makeFactory() self.init(factory.zeroOrOne(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildLimitedAvailability(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5)>) -> _StringProcessing.Regex<(Swift.Substring, C1?, C2?, C3?, C4?, C5?)> { let factory = makeFactory() return factory.zeroOrOne(component, nil) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.ZeroOrMore { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?) { let factory = makeFactory() self.init(factory.zeroOrMore(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.ZeroOrMore { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5)>) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?) { let factory = makeFactory() self.init(factory.zeroOrMore(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.OneOrMore { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1, C2, C3, C4, C5) { let factory = makeFactory() self.init(factory.oneOrMore(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.OneOrMore { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5)>) where Output == (Swift.Substring, C1, C2, C3, C4, C5) { let factory = makeFactory() self.init(factory.oneOrMore(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Repeat { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5)>, count: Swift.Int) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?) { precondition(count >= 0, "Must specify a positive count") let factory = makeFactory() self.init(factory.exactly(count, component)) } @_alwaysEmitIntoClient public init(count: Swift.Int, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5)>) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?) { precondition(count >= 0, "Must specify a positive count") let factory = makeFactory() self.init(factory.exactly(count, componentBuilder())) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5)>, _ expression: some RangeExpression, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?) { let factory = makeFactory() self.init(factory.repeating(expression.relative(to: 0..(_ expression: some RangeExpression, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5)>) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?) { let factory = makeFactory() self.init(factory.repeating(expression.relative(to: 0..(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?) { let factory = makeFactory() self.init(factory.zeroOrOne(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Optionally { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6)>) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?) { let factory = makeFactory() self.init(factory.zeroOrOne(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildLimitedAvailability(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6)>) -> _StringProcessing.Regex<(Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?)> { let factory = makeFactory() return factory.zeroOrOne(component, nil) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.ZeroOrMore { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?) { let factory = makeFactory() self.init(factory.zeroOrMore(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.ZeroOrMore { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6)>) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?) { let factory = makeFactory() self.init(factory.zeroOrMore(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.OneOrMore { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1, C2, C3, C4, C5, C6) { let factory = makeFactory() self.init(factory.oneOrMore(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.OneOrMore { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6)>) where Output == (Swift.Substring, C1, C2, C3, C4, C5, C6) { let factory = makeFactory() self.init(factory.oneOrMore(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Repeat { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6)>, count: Swift.Int) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?) { precondition(count >= 0, "Must specify a positive count") let factory = makeFactory() self.init(factory.exactly(count, component)) } @_alwaysEmitIntoClient public init(count: Swift.Int, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6)>) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?) { precondition(count >= 0, "Must specify a positive count") let factory = makeFactory() self.init(factory.exactly(count, componentBuilder())) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6)>, _ expression: some RangeExpression, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?) { let factory = makeFactory() self.init(factory.repeating(expression.relative(to: 0..(_ expression: some RangeExpression, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6)>) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?) { let factory = makeFactory() self.init(factory.repeating(expression.relative(to: 0..(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?) { let factory = makeFactory() self.init(factory.zeroOrOne(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Optionally { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7)>) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?) { let factory = makeFactory() self.init(factory.zeroOrOne(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildLimitedAvailability(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7)>) -> _StringProcessing.Regex<(Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?)> { let factory = makeFactory() return factory.zeroOrOne(component, nil) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.ZeroOrMore { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?) { let factory = makeFactory() self.init(factory.zeroOrMore(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.ZeroOrMore { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7)>) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?) { let factory = makeFactory() self.init(factory.zeroOrMore(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.OneOrMore { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1, C2, C3, C4, C5, C6, C7) { let factory = makeFactory() self.init(factory.oneOrMore(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.OneOrMore { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7)>) where Output == (Swift.Substring, C1, C2, C3, C4, C5, C6, C7) { let factory = makeFactory() self.init(factory.oneOrMore(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Repeat { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7)>, count: Swift.Int) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?) { precondition(count >= 0, "Must specify a positive count") let factory = makeFactory() self.init(factory.exactly(count, component)) } @_alwaysEmitIntoClient public init(count: Swift.Int, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7)>) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?) { precondition(count >= 0, "Must specify a positive count") let factory = makeFactory() self.init(factory.exactly(count, componentBuilder())) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7)>, _ expression: some RangeExpression, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?) { let factory = makeFactory() self.init(factory.repeating(expression.relative(to: 0..(_ expression: some RangeExpression, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7)>) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?) { let factory = makeFactory() self.init(factory.repeating(expression.relative(to: 0..(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?) { let factory = makeFactory() self.init(factory.zeroOrOne(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Optionally { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8)>) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?) { let factory = makeFactory() self.init(factory.zeroOrOne(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildLimitedAvailability(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8)>) -> _StringProcessing.Regex<(Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?)> { let factory = makeFactory() return factory.zeroOrOne(component, nil) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.ZeroOrMore { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?) { let factory = makeFactory() self.init(factory.zeroOrMore(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.ZeroOrMore { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8)>) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?) { let factory = makeFactory() self.init(factory.zeroOrMore(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.OneOrMore { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8) { let factory = makeFactory() self.init(factory.oneOrMore(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.OneOrMore { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8)>) where Output == (Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8) { let factory = makeFactory() self.init(factory.oneOrMore(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Repeat { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8)>, count: Swift.Int) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?) { precondition(count >= 0, "Must specify a positive count") let factory = makeFactory() self.init(factory.exactly(count, component)) } @_alwaysEmitIntoClient public init(count: Swift.Int, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8)>) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?) { precondition(count >= 0, "Must specify a positive count") let factory = makeFactory() self.init(factory.exactly(count, componentBuilder())) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8)>, _ expression: some RangeExpression, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?) { let factory = makeFactory() self.init(factory.repeating(expression.relative(to: 0..(_ expression: some RangeExpression, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8)>) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?) { let factory = makeFactory() self.init(factory.repeating(expression.relative(to: 0..(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?, C9?) { let factory = makeFactory() self.init(factory.zeroOrOne(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Optionally { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9)>) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?, C9?) { let factory = makeFactory() self.init(factory.zeroOrOne(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildLimitedAvailability(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9)>) -> _StringProcessing.Regex<(Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?, C9?)> { let factory = makeFactory() return factory.zeroOrOne(component, nil) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.ZeroOrMore { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?, C9?) { let factory = makeFactory() self.init(factory.zeroOrMore(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.ZeroOrMore { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9)>) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?, C9?) { let factory = makeFactory() self.init(factory.zeroOrMore(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.OneOrMore { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9) { let factory = makeFactory() self.init(factory.oneOrMore(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.OneOrMore { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9)>) where Output == (Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9) { let factory = makeFactory() self.init(factory.oneOrMore(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Repeat { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9)>, count: Swift.Int) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?, C9?) { precondition(count >= 0, "Must specify a positive count") let factory = makeFactory() self.init(factory.exactly(count, component)) } @_alwaysEmitIntoClient public init(count: Swift.Int, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9)>) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?, C9?) { precondition(count >= 0, "Must specify a positive count") let factory = makeFactory() self.init(factory.exactly(count, componentBuilder())) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9)>, _ expression: some RangeExpression, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?, C9?) { let factory = makeFactory() self.init(factory.repeating(expression.relative(to: 0..(_ expression: some RangeExpression, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9)>) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?, C9?) { let factory = makeFactory() self.init(factory.repeating(expression.relative(to: 0..(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?, C9?, C10?) { let factory = makeFactory() self.init(factory.zeroOrOne(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Optionally { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?, C9?, C10?) { let factory = makeFactory() self.init(factory.zeroOrOne(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.RegexComponentBuilder { @_alwaysEmitIntoClient public static func buildLimitedAvailability(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>) -> _StringProcessing.Regex<(Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?, C9?, C10?)> { let factory = makeFactory() return factory.zeroOrOne(component, nil) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.ZeroOrMore { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?, C9?, C10?) { let factory = makeFactory() self.init(factory.zeroOrMore(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.ZeroOrMore { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?, C9?, C10?) { let factory = makeFactory() self.init(factory.zeroOrMore(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.OneOrMore { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10) { let factory = makeFactory() self.init(factory.oneOrMore(component, behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.OneOrMore { @_alwaysEmitIntoClient public init(_ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>) where Output == (Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10) { let factory = makeFactory() self.init(factory.oneOrMore(componentBuilder(), behavior)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Repeat { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>, count: Swift.Int) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?, C9?, C10?) { precondition(count >= 0, "Must specify a positive count") let factory = makeFactory() self.init(factory.exactly(count, component)) } @_alwaysEmitIntoClient public init(count: Swift.Int, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?, C9?, C10?) { precondition(count >= 0, "Must specify a positive count") let factory = makeFactory() self.init(factory.exactly(count, componentBuilder())) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>, _ expression: some RangeExpression, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?, C9?, C10?) { let factory = makeFactory() self.init(factory.repeating(expression.relative(to: 0..(_ expression: some RangeExpression, _ behavior: _StringProcessing.RegexRepetitionBehavior? = nil, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>) where Output == (Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?, C9?, C10?) { let factory = makeFactory() self.init(factory.repeating(expression.relative(to: 0.. some RegexComponent) where Output == Swift.Substring { let factory = makeFactory() self.init(factory.atomicNonCapturing(componentBuilder())) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Local { @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1)>) where Output == (Swift.Substring, C1) { let factory = makeFactory() self.init(factory.atomicNonCapturing(component)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Local { @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1)>) where Output == (Swift.Substring, C1) { let factory = makeFactory() self.init(factory.atomicNonCapturing(componentBuilder())) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Local { @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2)>) where Output == (Swift.Substring, C1, C2) { let factory = makeFactory() self.init(factory.atomicNonCapturing(component)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Local { @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2)>) where Output == (Swift.Substring, C1, C2) { let factory = makeFactory() self.init(factory.atomicNonCapturing(componentBuilder())) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Local { @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3)>) where Output == (Swift.Substring, C1, C2, C3) { let factory = makeFactory() self.init(factory.atomicNonCapturing(component)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Local { @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3)>) where Output == (Swift.Substring, C1, C2, C3) { let factory = makeFactory() self.init(factory.atomicNonCapturing(componentBuilder())) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Local { @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4)>) where Output == (Swift.Substring, C1, C2, C3, C4) { let factory = makeFactory() self.init(factory.atomicNonCapturing(component)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Local { @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4)>) where Output == (Swift.Substring, C1, C2, C3, C4) { let factory = makeFactory() self.init(factory.atomicNonCapturing(componentBuilder())) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Local { @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5)>) where Output == (Swift.Substring, C1, C2, C3, C4, C5) { let factory = makeFactory() self.init(factory.atomicNonCapturing(component)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Local { @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5)>) where Output == (Swift.Substring, C1, C2, C3, C4, C5) { let factory = makeFactory() self.init(factory.atomicNonCapturing(componentBuilder())) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Local { @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6)>) where Output == (Swift.Substring, C1, C2, C3, C4, C5, C6) { let factory = makeFactory() self.init(factory.atomicNonCapturing(component)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Local { @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6)>) where Output == (Swift.Substring, C1, C2, C3, C4, C5, C6) { let factory = makeFactory() self.init(factory.atomicNonCapturing(componentBuilder())) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Local { @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7)>) where Output == (Swift.Substring, C1, C2, C3, C4, C5, C6, C7) { let factory = makeFactory() self.init(factory.atomicNonCapturing(component)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Local { @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7)>) where Output == (Swift.Substring, C1, C2, C3, C4, C5, C6, C7) { let factory = makeFactory() self.init(factory.atomicNonCapturing(componentBuilder())) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Local { @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8)>) where Output == (Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8) { let factory = makeFactory() self.init(factory.atomicNonCapturing(component)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Local { @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8)>) where Output == (Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8) { let factory = makeFactory() self.init(factory.atomicNonCapturing(componentBuilder())) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Local { @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9)>) where Output == (Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9) { let factory = makeFactory() self.init(factory.atomicNonCapturing(component)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Local { @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9)>) where Output == (Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9) { let factory = makeFactory() self.init(factory.atomicNonCapturing(componentBuilder())) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Local { @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>) where Output == (Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10) { let factory = makeFactory() self.init(factory.atomicNonCapturing(component)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Local { @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>) where Output == (Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10) { let factory = makeFactory() self.init(factory.atomicNonCapturing(componentBuilder())) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent, next: some RegexComponent) -> RegexBuilder.ChoiceOf { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent, next: some RegexComponent<(W1, C1)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent, next: some RegexComponent<(W1, C1, C2)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1?, C2?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent, next: some RegexComponent<(W1, C1, C2, C3)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1?, C2?, C3?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent, next: some RegexComponent<(W1, C1, C2, C3, C4)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1?, C2?, C3?, C4?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent, next: some RegexComponent<(W1, C1, C2, C3, C4, C5)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1?, C2?, C3?, C4?, C5?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent, next: some RegexComponent<(W1, C1, C2, C3, C4, C5, C6)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent, next: some RegexComponent<(W1, C1, C2, C3, C4, C5, C6, C7)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent, next: some RegexComponent<(W1, C1, C2, C3, C4, C5, C6, C7, C8)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent, next: some RegexComponent<(W1, C1, C2, C3, C4, C5, C6, C7, C8, C9)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?, C9?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent, next: some RegexComponent<(W1, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?, C9?, C10?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1)>, next: some RegexComponent) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1)>, next: some RegexComponent<(W1, C2)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1)>, next: some RegexComponent<(W1, C2, C3)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2?, C3?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1)>, next: some RegexComponent<(W1, C2, C3, C4)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2?, C3?, C4?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1)>, next: some RegexComponent<(W1, C2, C3, C4, C5)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2?, C3?, C4?, C5?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1)>, next: some RegexComponent<(W1, C2, C3, C4, C5, C6)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2?, C3?, C4?, C5?, C6?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1)>, next: some RegexComponent<(W1, C2, C3, C4, C5, C6, C7)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2?, C3?, C4?, C5?, C6?, C7?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1)>, next: some RegexComponent<(W1, C2, C3, C4, C5, C6, C7, C8)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2?, C3?, C4?, C5?, C6?, C7?, C8?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1)>, next: some RegexComponent<(W1, C2, C3, C4, C5, C6, C7, C8, C9)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2?, C3?, C4?, C5?, C6?, C7?, C8?, C9?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1)>, next: some RegexComponent<(W1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2?, C3?, C4?, C5?, C6?, C7?, C8?, C9?, C10?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2)>, next: some RegexComponent) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2)>, next: some RegexComponent<(W1, C3)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2)>, next: some RegexComponent<(W1, C3, C4)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3?, C4?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2)>, next: some RegexComponent<(W1, C3, C4, C5)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3?, C4?, C5?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2)>, next: some RegexComponent<(W1, C3, C4, C5, C6)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3?, C4?, C5?, C6?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2)>, next: some RegexComponent<(W1, C3, C4, C5, C6, C7)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3?, C4?, C5?, C6?, C7?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2)>, next: some RegexComponent<(W1, C3, C4, C5, C6, C7, C8)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3?, C4?, C5?, C6?, C7?, C8?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2)>, next: some RegexComponent<(W1, C3, C4, C5, C6, C7, C8, C9)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3?, C4?, C5?, C6?, C7?, C8?, C9?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2)>, next: some RegexComponent<(W1, C3, C4, C5, C6, C7, C8, C9, C10)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3?, C4?, C5?, C6?, C7?, C8?, C9?, C10?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3)>, next: some RegexComponent) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3)>, next: some RegexComponent<(W1, C4)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3)>, next: some RegexComponent<(W1, C4, C5)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4?, C5?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3)>, next: some RegexComponent<(W1, C4, C5, C6)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4?, C5?, C6?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3)>, next: some RegexComponent<(W1, C4, C5, C6, C7)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4?, C5?, C6?, C7?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3)>, next: some RegexComponent<(W1, C4, C5, C6, C7, C8)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4?, C5?, C6?, C7?, C8?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3)>, next: some RegexComponent<(W1, C4, C5, C6, C7, C8, C9)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4?, C5?, C6?, C7?, C8?, C9?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3)>, next: some RegexComponent<(W1, C4, C5, C6, C7, C8, C9, C10)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4?, C5?, C6?, C7?, C8?, C9?, C10?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4)>, next: some RegexComponent) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4)>, next: some RegexComponent<(W1, C5)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4, C5?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4)>, next: some RegexComponent<(W1, C5, C6)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4, C5?, C6?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4)>, next: some RegexComponent<(W1, C5, C6, C7)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4, C5?, C6?, C7?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4)>, next: some RegexComponent<(W1, C5, C6, C7, C8)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4, C5?, C6?, C7?, C8?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4)>, next: some RegexComponent<(W1, C5, C6, C7, C8, C9)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4, C5?, C6?, C7?, C8?, C9?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4)>, next: some RegexComponent<(W1, C5, C6, C7, C8, C9, C10)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4, C5?, C6?, C7?, C8?, C9?, C10?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5)>, next: some RegexComponent) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4, C5)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5)>, next: some RegexComponent<(W1, C6)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4, C5, C6?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5)>, next: some RegexComponent<(W1, C6, C7)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4, C5, C6?, C7?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5)>, next: some RegexComponent<(W1, C6, C7, C8)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4, C5, C6?, C7?, C8?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5)>, next: some RegexComponent<(W1, C6, C7, C8, C9)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4, C5, C6?, C7?, C8?, C9?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5)>, next: some RegexComponent<(W1, C6, C7, C8, C9, C10)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4, C5, C6?, C7?, C8?, C9?, C10?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5, C6)>, next: some RegexComponent) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4, C5, C6)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5, C6)>, next: some RegexComponent<(W1, C7)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5, C6)>, next: some RegexComponent<(W1, C7, C8)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7?, C8?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5, C6)>, next: some RegexComponent<(W1, C7, C8, C9)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7?, C8?, C9?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5, C6)>, next: some RegexComponent<(W1, C7, C8, C9, C10)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7?, C8?, C9?, C10?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5, C6, C7)>, next: some RegexComponent) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5, C6, C7)>, next: some RegexComponent<(W1, C8)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5, C6, C7)>, next: some RegexComponent<(W1, C8, C9)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8?, C9?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5, C6, C7)>, next: some RegexComponent<(W1, C8, C9, C10)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8?, C9?, C10?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5, C6, C7, C8)>, next: some RegexComponent) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5, C6, C7, C8)>, next: some RegexComponent<(W1, C9)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5, C6, C7, C8)>, next: some RegexComponent<(W1, C9, C10)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9?, C10?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5, C6, C7, C8, C9)>, next: some RegexComponent) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(accumulated: some RegexComponent<(W0, C1, C2, C3, C4, C5, C6, C7, C8, C9)>, next: some RegexComponent<(W1, C10)>) -> RegexBuilder.ChoiceOf<(Swift.Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10?)> { let factory = makeFactory() return .init(factory.accumulateAlternation(accumulated, next)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(first regex: R) -> RegexBuilder.ChoiceOf<(W, C1?)> where R : _StringProcessing.RegexComponent, R.RegexOutput == (W, C1) { let factory = makeFactory() return .init(factory.orderedChoice(regex)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(first regex: R) -> RegexBuilder.ChoiceOf<(W, C1?, C2?)> where R : _StringProcessing.RegexComponent, R.RegexOutput == (W, C1, C2) { let factory = makeFactory() return .init(factory.orderedChoice(regex)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(first regex: R) -> RegexBuilder.ChoiceOf<(W, C1?, C2?, C3?)> where R : _StringProcessing.RegexComponent, R.RegexOutput == (W, C1, C2, C3) { let factory = makeFactory() return .init(factory.orderedChoice(regex)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(first regex: R) -> RegexBuilder.ChoiceOf<(W, C1?, C2?, C3?, C4?)> where R : _StringProcessing.RegexComponent, R.RegexOutput == (W, C1, C2, C3, C4) { let factory = makeFactory() return .init(factory.orderedChoice(regex)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(first regex: R) -> RegexBuilder.ChoiceOf<(W, C1?, C2?, C3?, C4?, C5?)> where R : _StringProcessing.RegexComponent, R.RegexOutput == (W, C1, C2, C3, C4, C5) { let factory = makeFactory() return .init(factory.orderedChoice(regex)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(first regex: R) -> RegexBuilder.ChoiceOf<(W, C1?, C2?, C3?, C4?, C5?, C6?)> where R : _StringProcessing.RegexComponent, R.RegexOutput == (W, C1, C2, C3, C4, C5, C6) { let factory = makeFactory() return .init(factory.orderedChoice(regex)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(first regex: R) -> RegexBuilder.ChoiceOf<(W, C1?, C2?, C3?, C4?, C5?, C6?, C7?)> where R : _StringProcessing.RegexComponent, R.RegexOutput == (W, C1, C2, C3, C4, C5, C6, C7) { let factory = makeFactory() return .init(factory.orderedChoice(regex)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(first regex: R) -> RegexBuilder.ChoiceOf<(W, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?)> where R : _StringProcessing.RegexComponent, R.RegexOutput == (W, C1, C2, C3, C4, C5, C6, C7, C8) { let factory = makeFactory() return .init(factory.orderedChoice(regex)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(first regex: R) -> RegexBuilder.ChoiceOf<(W, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?, C9?)> where R : _StringProcessing.RegexComponent, R.RegexOutput == (W, C1, C2, C3, C4, C5, C6, C7, C8, C9) { let factory = makeFactory() return .init(factory.orderedChoice(regex)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.AlternationBuilder { @_alwaysEmitIntoClient public static func buildPartialBlock(first regex: R) -> RegexBuilder.ChoiceOf<(W, C1?, C2?, C3?, C4?, C5?, C6?, C7?, C8?, C9?, C10?)> where R : _StringProcessing.RegexComponent, R.RegexOutput == (W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10) { let factory = makeFactory() return .init(factory.orderedChoice(regex)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Capture { @_disfavoredOverload @_alwaysEmitIntoClient public init(_ component: some RegexComponent) where Output == (Swift.Substring, W) { let factory = makeFactory() self.init(factory.capture(component)) } @_disfavoredOverload @_alwaysEmitIntoClient public init(_ component: some RegexComponent, as reference: RegexBuilder.Reference) where Output == (Swift.Substring, W) { let factory = makeFactory() self.init(factory.capture(component, reference._raw)) } @_disfavoredOverload @_alwaysEmitIntoClient public init(_ component: some RegexComponent, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture) { let factory = makeFactory() self.init(factory.capture(component, nil, transform)) } @_disfavoredOverload @_alwaysEmitIntoClient public init(_ component: some RegexComponent, as reference: RegexBuilder.Reference, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture) { let factory = makeFactory() self.init(factory.capture(component, reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.TryCapture { @_disfavoredOverload @_alwaysEmitIntoClient public init(_ component: some RegexComponent, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture) { let factory = makeFactory() self.init(factory.captureOptional(component, nil, transform)) } @_disfavoredOverload @_alwaysEmitIntoClient public init(_ component: some RegexComponent, as reference: RegexBuilder.Reference, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture) { let factory = makeFactory() self.init(factory.captureOptional(component, reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Capture { @_disfavoredOverload @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent) where Output == (Swift.Substring, W) { let factory = makeFactory() self.init(factory.capture(componentBuilder())) } @_disfavoredOverload @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent) where Output == (Swift.Substring, W) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), reference._raw)) } @_disfavoredOverload @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), nil, transform)) } @_disfavoredOverload @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.TryCapture { @_disfavoredOverload @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture) { let factory = makeFactory() self.init(factory.captureOptional(componentBuilder(), nil, transform)) } @_disfavoredOverload @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture) { let factory = makeFactory() self.init(factory.captureOptional(componentBuilder(), reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Capture { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1)>) where Output == (Swift.Substring, W, C1) { let factory = makeFactory() self.init(factory.capture(component)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1)>, as reference: RegexBuilder.Reference) where Output == (Swift.Substring, W, C1) { let factory = makeFactory() self.init(factory.capture(component, reference._raw)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1) { let factory = makeFactory() self.init(factory.capture(component, nil, transform)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1)>, as reference: RegexBuilder.Reference, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1) { let factory = makeFactory() self.init(factory.capture(component, reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.TryCapture { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1) { let factory = makeFactory() self.init(factory.captureOptional(component, nil, transform)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1)>, as reference: RegexBuilder.Reference, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1) { let factory = makeFactory() self.init(factory.captureOptional(component, reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Capture { @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1)>) where Output == (Swift.Substring, W, C1) { let factory = makeFactory() self.init(factory.capture(componentBuilder())) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1)>) where Output == (Swift.Substring, W, C1) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), reference._raw)) } @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), nil, transform)) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.TryCapture { @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1) { let factory = makeFactory() self.init(factory.captureOptional(componentBuilder(), nil, transform)) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1) { let factory = makeFactory() self.init(factory.captureOptional(componentBuilder(), reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Capture { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2)>) where Output == (Swift.Substring, W, C1, C2) { let factory = makeFactory() self.init(factory.capture(component)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2)>, as reference: RegexBuilder.Reference) where Output == (Swift.Substring, W, C1, C2) { let factory = makeFactory() self.init(factory.capture(component, reference._raw)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2) { let factory = makeFactory() self.init(factory.capture(component, nil, transform)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2)>, as reference: RegexBuilder.Reference, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2) { let factory = makeFactory() self.init(factory.capture(component, reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.TryCapture { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2) { let factory = makeFactory() self.init(factory.captureOptional(component, nil, transform)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2)>, as reference: RegexBuilder.Reference, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2) { let factory = makeFactory() self.init(factory.captureOptional(component, reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Capture { @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2)>) where Output == (Swift.Substring, W, C1, C2) { let factory = makeFactory() self.init(factory.capture(componentBuilder())) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2)>) where Output == (Swift.Substring, W, C1, C2) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), reference._raw)) } @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), nil, transform)) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.TryCapture { @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2) { let factory = makeFactory() self.init(factory.captureOptional(componentBuilder(), nil, transform)) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2) { let factory = makeFactory() self.init(factory.captureOptional(componentBuilder(), reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Capture { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3)>) where Output == (Swift.Substring, W, C1, C2, C3) { let factory = makeFactory() self.init(factory.capture(component)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3)>, as reference: RegexBuilder.Reference) where Output == (Swift.Substring, W, C1, C2, C3) { let factory = makeFactory() self.init(factory.capture(component, reference._raw)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3) { let factory = makeFactory() self.init(factory.capture(component, nil, transform)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3)>, as reference: RegexBuilder.Reference, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3) { let factory = makeFactory() self.init(factory.capture(component, reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.TryCapture { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3) { let factory = makeFactory() self.init(factory.captureOptional(component, nil, transform)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3)>, as reference: RegexBuilder.Reference, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3) { let factory = makeFactory() self.init(factory.captureOptional(component, reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Capture { @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3)>) where Output == (Swift.Substring, W, C1, C2, C3) { let factory = makeFactory() self.init(factory.capture(componentBuilder())) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3)>) where Output == (Swift.Substring, W, C1, C2, C3) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), reference._raw)) } @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), nil, transform)) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.TryCapture { @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3) { let factory = makeFactory() self.init(factory.captureOptional(componentBuilder(), nil, transform)) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3) { let factory = makeFactory() self.init(factory.captureOptional(componentBuilder(), reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Capture { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4)>) where Output == (Swift.Substring, W, C1, C2, C3, C4) { let factory = makeFactory() self.init(factory.capture(component)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4)>, as reference: RegexBuilder.Reference) where Output == (Swift.Substring, W, C1, C2, C3, C4) { let factory = makeFactory() self.init(factory.capture(component, reference._raw)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4) { let factory = makeFactory() self.init(factory.capture(component, nil, transform)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4)>, as reference: RegexBuilder.Reference, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4) { let factory = makeFactory() self.init(factory.capture(component, reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.TryCapture { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4) { let factory = makeFactory() self.init(factory.captureOptional(component, nil, transform)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4)>, as reference: RegexBuilder.Reference, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4) { let factory = makeFactory() self.init(factory.captureOptional(component, reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Capture { @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4)>) where Output == (Swift.Substring, W, C1, C2, C3, C4) { let factory = makeFactory() self.init(factory.capture(componentBuilder())) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4)>) where Output == (Swift.Substring, W, C1, C2, C3, C4) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), reference._raw)) } @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), nil, transform)) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.TryCapture { @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4) { let factory = makeFactory() self.init(factory.captureOptional(componentBuilder(), nil, transform)) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4) { let factory = makeFactory() self.init(factory.captureOptional(componentBuilder(), reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Capture { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5)>) where Output == (Swift.Substring, W, C1, C2, C3, C4, C5) { let factory = makeFactory() self.init(factory.capture(component)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5)>, as reference: RegexBuilder.Reference) where Output == (Swift.Substring, W, C1, C2, C3, C4, C5) { let factory = makeFactory() self.init(factory.capture(component, reference._raw)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5) { let factory = makeFactory() self.init(factory.capture(component, nil, transform)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5)>, as reference: RegexBuilder.Reference, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5) { let factory = makeFactory() self.init(factory.capture(component, reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.TryCapture { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5) { let factory = makeFactory() self.init(factory.captureOptional(component, nil, transform)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5)>, as reference: RegexBuilder.Reference, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5) { let factory = makeFactory() self.init(factory.captureOptional(component, reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Capture { @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5)>) where Output == (Swift.Substring, W, C1, C2, C3, C4, C5) { let factory = makeFactory() self.init(factory.capture(componentBuilder())) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5)>) where Output == (Swift.Substring, W, C1, C2, C3, C4, C5) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), reference._raw)) } @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), nil, transform)) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.TryCapture { @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5) { let factory = makeFactory() self.init(factory.captureOptional(componentBuilder(), nil, transform)) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5) { let factory = makeFactory() self.init(factory.captureOptional(componentBuilder(), reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Capture { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6)>) where Output == (Swift.Substring, W, C1, C2, C3, C4, C5, C6) { let factory = makeFactory() self.init(factory.capture(component)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6)>, as reference: RegexBuilder.Reference) where Output == (Swift.Substring, W, C1, C2, C3, C4, C5, C6) { let factory = makeFactory() self.init(factory.capture(component, reference._raw)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6) { let factory = makeFactory() self.init(factory.capture(component, nil, transform)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6)>, as reference: RegexBuilder.Reference, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6) { let factory = makeFactory() self.init(factory.capture(component, reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.TryCapture { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6) { let factory = makeFactory() self.init(factory.captureOptional(component, nil, transform)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6)>, as reference: RegexBuilder.Reference, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6) { let factory = makeFactory() self.init(factory.captureOptional(component, reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Capture { @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6)>) where Output == (Swift.Substring, W, C1, C2, C3, C4, C5, C6) { let factory = makeFactory() self.init(factory.capture(componentBuilder())) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6)>) where Output == (Swift.Substring, W, C1, C2, C3, C4, C5, C6) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), reference._raw)) } @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), nil, transform)) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.TryCapture { @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6) { let factory = makeFactory() self.init(factory.captureOptional(componentBuilder(), nil, transform)) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6) { let factory = makeFactory() self.init(factory.captureOptional(componentBuilder(), reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Capture { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7)>) where Output == (Swift.Substring, W, C1, C2, C3, C4, C5, C6, C7) { let factory = makeFactory() self.init(factory.capture(component)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7)>, as reference: RegexBuilder.Reference) where Output == (Swift.Substring, W, C1, C2, C3, C4, C5, C6, C7) { let factory = makeFactory() self.init(factory.capture(component, reference._raw)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7) { let factory = makeFactory() self.init(factory.capture(component, nil, transform)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7)>, as reference: RegexBuilder.Reference, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7) { let factory = makeFactory() self.init(factory.capture(component, reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.TryCapture { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7) { let factory = makeFactory() self.init(factory.captureOptional(component, nil, transform)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7)>, as reference: RegexBuilder.Reference, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7) { let factory = makeFactory() self.init(factory.captureOptional(component, reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Capture { @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7)>) where Output == (Swift.Substring, W, C1, C2, C3, C4, C5, C6, C7) { let factory = makeFactory() self.init(factory.capture(componentBuilder())) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7)>) where Output == (Swift.Substring, W, C1, C2, C3, C4, C5, C6, C7) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), reference._raw)) } @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), nil, transform)) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.TryCapture { @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7) { let factory = makeFactory() self.init(factory.captureOptional(componentBuilder(), nil, transform)) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7) { let factory = makeFactory() self.init(factory.captureOptional(componentBuilder(), reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Capture { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8)>) where Output == (Swift.Substring, W, C1, C2, C3, C4, C5, C6, C7, C8) { let factory = makeFactory() self.init(factory.capture(component)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8)>, as reference: RegexBuilder.Reference) where Output == (Swift.Substring, W, C1, C2, C3, C4, C5, C6, C7, C8) { let factory = makeFactory() self.init(factory.capture(component, reference._raw)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7, C8) { let factory = makeFactory() self.init(factory.capture(component, nil, transform)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8)>, as reference: RegexBuilder.Reference, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7, C8) { let factory = makeFactory() self.init(factory.capture(component, reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.TryCapture { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7, C8) { let factory = makeFactory() self.init(factory.captureOptional(component, nil, transform)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8)>, as reference: RegexBuilder.Reference, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7, C8) { let factory = makeFactory() self.init(factory.captureOptional(component, reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Capture { @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8)>) where Output == (Swift.Substring, W, C1, C2, C3, C4, C5, C6, C7, C8) { let factory = makeFactory() self.init(factory.capture(componentBuilder())) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8)>) where Output == (Swift.Substring, W, C1, C2, C3, C4, C5, C6, C7, C8) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), reference._raw)) } @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7, C8) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), nil, transform)) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7, C8) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.TryCapture { @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7, C8) { let factory = makeFactory() self.init(factory.captureOptional(componentBuilder(), nil, transform)) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7, C8) { let factory = makeFactory() self.init(factory.captureOptional(componentBuilder(), reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Capture { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9)>) where Output == (Swift.Substring, W, C1, C2, C3, C4, C5, C6, C7, C8, C9) { let factory = makeFactory() self.init(factory.capture(component)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9)>, as reference: RegexBuilder.Reference) where Output == (Swift.Substring, W, C1, C2, C3, C4, C5, C6, C7, C8, C9) { let factory = makeFactory() self.init(factory.capture(component, reference._raw)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7, C8, C9) { let factory = makeFactory() self.init(factory.capture(component, nil, transform)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9)>, as reference: RegexBuilder.Reference, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7, C8, C9) { let factory = makeFactory() self.init(factory.capture(component, reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.TryCapture { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7, C8, C9) { let factory = makeFactory() self.init(factory.captureOptional(component, nil, transform)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9)>, as reference: RegexBuilder.Reference, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7, C8, C9) { let factory = makeFactory() self.init(factory.captureOptional(component, reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Capture { @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9)>) where Output == (Swift.Substring, W, C1, C2, C3, C4, C5, C6, C7, C8, C9) { let factory = makeFactory() self.init(factory.capture(componentBuilder())) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9)>) where Output == (Swift.Substring, W, C1, C2, C3, C4, C5, C6, C7, C8, C9) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), reference._raw)) } @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7, C8, C9) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), nil, transform)) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7, C8, C9) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.TryCapture { @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7, C8, C9) { let factory = makeFactory() self.init(factory.captureOptional(componentBuilder(), nil, transform)) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7, C8, C9) { let factory = makeFactory() self.init(factory.captureOptional(componentBuilder(), reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Capture { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>) where Output == (Swift.Substring, W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10) { let factory = makeFactory() self.init(factory.capture(component)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>, as reference: RegexBuilder.Reference) where Output == (Swift.Substring, W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10) { let factory = makeFactory() self.init(factory.capture(component, reference._raw)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10) { let factory = makeFactory() self.init(factory.capture(component, nil, transform)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>, as reference: RegexBuilder.Reference, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10) { let factory = makeFactory() self.init(factory.capture(component, reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.TryCapture { @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10) { let factory = makeFactory() self.init(factory.captureOptional(component, nil, transform)) } @_alwaysEmitIntoClient public init(_ component: some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>, as reference: RegexBuilder.Reference, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10) { let factory = makeFactory() self.init(factory.captureOptional(component, reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Capture { @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>) where Output == (Swift.Substring, W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10) { let factory = makeFactory() self.init(factory.capture(componentBuilder())) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>) where Output == (Swift.Substring, W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), reference._raw)) } @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), nil, transform)) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>, transform: @escaping (W) throws -> NewCapture) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10) { let factory = makeFactory() self.init(factory.capture(componentBuilder(), reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.TryCapture { @_alwaysEmitIntoClient public init(@RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10) { let factory = makeFactory() self.init(factory.captureOptional(componentBuilder(), nil, transform)) } @_alwaysEmitIntoClient public init(as reference: RegexBuilder.Reference, @RegexBuilder.RegexComponentBuilder _ componentBuilder: () -> some RegexComponent<(W, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)>, transform: @escaping (W) throws -> NewCapture?) where Output == (Swift.Substring, NewCapture, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10) { let factory = makeFactory() self.init(factory.captureOptional(componentBuilder(), reference._raw, transform)) } } @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Lookahead : _StringProcessing.RegexComponent {} @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.NegativeLookahead : _StringProcessing.RegexComponent {} @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.OneOrMore : _StringProcessing.RegexComponent {} @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.ZeroOrMore : _StringProcessing.RegexComponent {} @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Optionally : _StringProcessing.RegexComponent {} @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Repeat : _StringProcessing.RegexComponent {} @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.ChoiceOf : _StringProcessing.RegexComponent {} @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Capture : _StringProcessing.RegexComponent {} @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.TryCapture : _StringProcessing.RegexComponent {} @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) extension RegexBuilder.Local : _StringProcessing.RegexComponent {}