endOfSubjectBeforeNewline
An anchor that matches at the end of the input string or at the end of the line immediately before the end of the string.
- iOS
- 16.0+
- macOS
- 13.0+
- tvOS
- 16.0+
- watchOS
- 9.0+
static var endOfSubjectBeforeNewline: Anchor { get }
This anchor is equivalent to \Z
in regex syntax.