Returns true if the given character is a hexadecimal digit.
(c: char)
| 102 | |
| 103 | /// Returns true if the given character is a hexadecimal digit. |
| 104 | fn is_hex(c: char) -> bool { |
| 105 | ('0' <= c && c <= '9') || ('a' <= c && c <= 'f') || ('A' <= c && c <= 'F') |
| 106 | } |
| 107 | |
| 108 | /// Returns true if the given character is a valid in a capture group name. |
| 109 | /// |
no outgoing calls
no test coverage detected