Check If A Text Pattern Matches With Rust's nom Crate