---
title: possessive
framework: swift
role: symbol
role_heading: Type Property
path: swift/regexrepetitionbehavior/possessive
---

# possessive

Match as much of the input string as possible, performing no backtracking.

## Declaration

```swift
static var possessive: RegexRepetitionBehavior { get }
```
