---
title: default
framework: swift
role: symbol
role_heading: Type Property
path: swift/regexwordboundarykind/default
---

# default

A word boundary algorithm that implements the “default word boundary” Unicode recommendation.

## Declaration

```swift
static var `default`: RegexWordBoundaryKind { get }
```

## Discussion

Discussion Default word boundaries use a Unicode algorithm that handles some cases better than simple word boundaries, such as words with internal punctuation, changes in script, and Emoji.
