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

# buildPartialBlock(first:)

## Declaration

```swift
static func buildPartialBlock<R>(first component: R) -> Regex<R.RegexOutput> where R : RegexComponent
```
