---
title: requiredEnd
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nsregularexpression/matchingflags/requiredend
---

# requiredEnd

Set when the current match depended on the location of the end of the search range.

## Declaration

```swift
static var requiredEnd: NSRegularExpression.MatchingFlags { get }
```

## See Also

### Constants

- [progress](foundation/nsregularexpression/matchingflags/progress.md)
- [completed](foundation/nsregularexpression/matchingflags/completed.md)
- [hitEnd](foundation/nsregularexpression/matchingflags/hitend.md)
- [internalError](foundation/nsregularexpression/matchingflags/internalerror.md)
