---
title: "init(_:)"
framework: regexbuilder
role: symbol
role_heading: Initializer
path: "regexbuilder/local/init(_:)-6dp02"
---

# init(_:)

Creates an atomic group with the given regex component.

## Declaration

```swift
init<W, C1, C2, C3, C4, C5>(_ component: some RegexComponent) where Output == (Substring, C1, C2, C3, C4, C5)
```

## Parameters

- `component`: The regex component to wrap in an atomic group.
