(text: string, at: number)
| 857 | |
| 858 | /** The hex digit at `at`, or `-1` when that character is not one. */ |
| 859 | const hexAt = (text: string, at: number): number => { |
| 860 | const code = text.charCodeAt(at) |
| 861 | return code < 128 ? hexValues[code] : -1 |
| 862 | } |
| 863 | |
| 864 | /** |
| 865 | * The hyphen positions do the validating that a regular expression used to: |