---
title: "buildPartialBlock(accumulated:next:)"
framework: regexbuilder
role: symbol
role_heading: Type Method
path: "regexbuilder/alternationbuilder/buildpartialblock(accumulated:next:)-6yu9n"
---

# buildPartialBlock(accumulated:next:)

## Declaration

```swift
static func buildPartialBlock<W1, C1, C2, C3, C4, C5, C6>(accumulated: some RegexComponent, next: some RegexComponent) -> ChoiceOf<(Substring, C1?, C2?, C3?, C4?, C5?, C6?)>
```
