wordBoundaryKind(_:)
Returns a regular expression that uses the specified word boundary algorithm.
Declaration
func wordBoundaryKind(_ wordBoundaryKind: RegexWordBoundaryKind) -> Regex<Regex<Output>.RegexOutput>Parameters
- wordBoundaryKind:
The algorithm to use for determining word boundaries.
Return Value
The modified regular expression.