<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Swift",
  "identifier" : "/documentation/RegexBuilder/RegexComponentBuilder/buildPartialBlock(accumulated:next:)-92aur",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "RegexBuilder"
    ],
    "preciseIdentifier" : "s:12RegexBuilder0a9ComponentB0O17buildPartialBlock11accumulated4next17_StringProcessing0A0VySs_q0_q1_q2_q3_q4_q5_q6_q7_q8_tGq9__q10_tAG0aC0R9_AgKR10_x_q0_q1_q2_q3_q4_t0A6OutputRt9_q__q5_q6_q7_q8_tALRt10_r11_lFZ"
  },
  "title" : "buildPartialBlock(accumulated:next:)"
}
-->

# buildPartialBlock(accumulated:next:)

```
static func buildPartialBlock<W0, W1, C1, C2, C3, C4, C5, C6, C7, C8, C9>(accumulated: some RegexComponent, next: some RegexComponent) -> Regex<(Substring, C1, C2, C3, C4, C5, C6, C7, C8, C9)>
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)