hexDigit
A character class that matches any hexadecimal digit.
- iOS
- 16.0+
- macOS
- 13.0+
- tvOS
- 16.0+
- watchOS
- 9.0+
static var hexDigit: CharacterClass { get }
hexDigit
matches the ASCII characters 0
through 9
, and upper- or lowercase a
through f
. The corresponding characters in the “Halfwidth and Fullwidth Forms” Unicode block are not matched by this character class.