endOfSubject

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

iOS
16.0+
macOS
13.0+
tvOS
16.0+
watchOS
9.0+
static var endOfSubject: Anchor { get }

This anchor is equivalent to \z in regex syntax.