---
title: startOfSubject
framework: regexbuilder
role: symbol
role_heading: Type Property
path: regexbuilder/anchor/startofsubject
---

# startOfSubject

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

## Declaration

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

## Discussion

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