asciiOnlyDigits(_:)
Returns a regular expression that matches only ASCII characters as digits.
- iOS
- 16.0+
- macOS
- 13.0+
- tvOS
- 16.0+
- watchOS
- 9.0+
func asciiOnlyDigits(_ useASCII: Bool = true) -> Regex<Regex<Output>.RegexOutput>
Parameters
- useasciiOnlyDigits
A Boolean value indicating whether to match only ASCII characters as digits.
Returns
The modified regular expression.