asciiOnlyWhitespace(_:)

Returns a regular expression that matches only ASCII characters as space characters.

iOS
16.0+
macOS
13.0+
tvOS
16.0+
watchOS
9.0+
func asciiOnlyWhitespace(_ useASCII: Bool = true) -> Regex<Regex<Output>.RegexOutput>

Parameters

asciiOnlyWhitespace

A Boolean value indicating whether to match only ASCII characters as space characters.

Returns

The modified regular expression.