---
title: hitEnd
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nsregularexpression/matchingflags/hitend
---

# hitEnd

Set when the current match operation reached the end of the search range.

## Declaration

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

## See Also

### Constants

- [progress](foundation/nsregularexpression/matchingflags/progress.md)
- [completed](foundation/nsregularexpression/matchingflags/completed.md)
- [requiredEnd](foundation/nsregularexpression/matchingflags/requiredend.md)
- [internalError](foundation/nsregularexpression/matchingflags/internalerror.md)
