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

# buildPartialBlock(accumulated:next:)

## Declaration

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