Structure_StringProcessing5.9.0
RegexWordBoundaryKind
A word boundary algorithm to use during regex matching.
- iOS
- 16.0+
- macOS
- 13.0+
- tvOS
- 16.0+
- watchOS
- 9.0+
struct RegexWordBoundaryKind
See Regex.wordBoundaryKind(_:)
for information about specifying the word boundary kind for all or part of a regex.
Citizens in _StringProcessing
Conformances
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.
Members
static var `default`: RegexWordBoundaryKind
A word boundary algorithm that implements the “default word boundary” Unicode recommendation.
static var simple: RegexWordBoundaryKind
A word boundary algorithm that implements the “simple word boundary” Unicode recommendation.