pub fn is_valid_shorthand(s: &str) -> bool
Checks whether a string conforms to the shorthand format regex [flL]?\d+ or u[0-9a-f]+ and valid range boundaries.
[flL]?\d+
u[0-9a-f]+