---
title: Regex.Match
framework: swift
role: symbol
role_heading: Structure
path: swift/regex/match
---

# Regex.Match

The result of matching a regular expression against a string.

## Declaration

```swift
@dynamicMemberLookup struct Match
```

## Overview

Overview A Match forwards API to the Output generic parameter, providing direct access to captures.

## Topics

### Initializers

- [init(_:)](swift/regex/match/init(_:).md)

### Instance Properties

- [output](swift/regex/match/output.md)
- [range](swift/regex/match/range.md)

### Subscripts

- [subscript(_:)](swift/regex/match/subscript(_:)-9bzv4.md)
- [subscript(_:)](swift/regex/match/subscript(_:)-vbin.md)
- [subscript(dynamicMember:)](swift/regex/match/subscript(dynamicmember:).md)
