diff --git a/src/main.rs b/src/main.rs index 234a5e9..b26876f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -155,6 +155,11 @@ fn is_token(current: &Vec, min_len: usize) -> bool { if current.iter().all(|c| c.is_digit(10)) { return false; } + if let Some(first_char) = current.iter().next() { + if first_char.is_digit(10) { + return false; + } + } true }