---
title: "buildPartialBlock(first:)"
framework: regexbuilder
role: symbol
role_heading: Type Method
path: "regexbuilder/alternationbuilder/buildpartialblock(first:)-3f6z3"
---

# buildPartialBlock(first:)

## Declaration

```swift
static func buildPartialBlock<R, W, C1, C2, C3, C4, C5>(first regex: R) -> ChoiceOf<(W, C1?, C2?, C3?, C4?, C5?)> where R : RegexComponent, R.RegexOutput == (W, C1, C2, C3, C4, C5)
```
