startOfSubject

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

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

This anchor is equivalent to \A in regex syntax.