pub fn is_train_number(train_number: &str) -> bool
Expand description
火车车次
§Examples
let train_number = String::from("G14");
let train_number_2 = String::from("G11234");
assert_eq!(regex_collection::common::is_train_number(&train_number), true);
assert_eq!(regex_collection::common::is_train_number(&train_number_2), false);