Accept upper-case hex digits for colors
This commit is contained in:
parent
13f985c0a4
commit
b1adcb158e
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ private extension Scanner {
|
||||||
}
|
}
|
||||||
|
|
||||||
private extension CharacterSet {
|
private extension CharacterSet {
|
||||||
static let hex = CharacterSet(charactersIn: "0123456789abcdef")
|
static let hex = CharacterSet(charactersIn: "0123456789abcdefABCDEF")
|
||||||
static let name = alphanumerics.union(CharacterSet(charactersIn: "_/"))
|
static let name = alphanumerics.union(CharacterSet(charactersIn: "_/"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue