Function nom::character::is_oct_digit
source · [−]Expand description
Tests if byte is ASCII octal digit: 0-7
Example
assert_eq!(is_oct_digit(b'a'), false);
assert_eq!(is_oct_digit(b'9'), false);
assert_eq!(is_oct_digit(b'6'), true);