---
title: endOfSubject
framework: regexbuilder
role: symbol
role_heading: Type Property
path: regexbuilder/anchor/endofsubject
---

# endOfSubject

An anchor that matches at the end of the input string.

## Declaration

```swift
static var endOfSubject: Anchor { get }
```

## Discussion

Discussion This anchor is equivalent to \z in regex syntax.
