---
title: RegexWordBoundaryKind
framework: swift
role: symbol
role_heading: Structure
path: swift/regexwordboundarykind
---

# RegexWordBoundaryKind

A word boundary algorithm to use during regex matching.

## Declaration

```swift
struct RegexWordBoundaryKind
```

## Overview

Overview See wordBoundaryKind(_:) for information about specifying the word boundary kind for all or part of a regex.

## Topics

### Operators

- [==(_:_:)](swift/regexwordboundarykind/==(_:_:).md)

### Instance Properties

- [hashValue](swift/regexwordboundarykind/hashvalue.md)

### Instance Methods

- [hash(into:)](swift/regexwordboundarykind/hash(into:).md)

### Type Properties

- [default](swift/regexwordboundarykind/default.md)
- [simple](swift/regexwordboundarykind/simple.md)

### Default Implementations

- [Equatable Implementations](swift/regexwordboundarykind/equatable-implementations.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)

## See Also

### Regular Expressions

- [Regex](swift/regex.md)
- [RegexRepetitionBehavior](swift/regexrepetitionbehavior.md)
- [RegexSemanticLevel](swift/regexsemanticlevel.md)
- [AnyRegexOutput](swift/anyregexoutput.md)
- [RegexComponent](swift/regexcomponent.md)
- [CustomConsumingRegexComponent](swift/customconsumingregexcomponent.md)
