---
title: firstMatchingPositionInSubject
framework: regexbuilder
role: symbol
role_heading: Type Property
path: regexbuilder/anchor/firstmatchingpositioninsubject
---

# firstMatchingPositionInSubject

An anchor that matches at the first position of a match in the input string.

## Declaration

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