pub fn is_a_good_pattern<'a>(pattern: &'a str) -> bool {
    let good_patterns = vec![
        "PATH",
        "URI",
        "DATE",
        "MAC",
        "IP",
        "HOSTPORT",
        "USERNAME",
        "BASE16NUM",
        "SYSLOGTIMESTAMP",
        "QS",
        "HOSTNAME",
    ];
    if good_patterns.contains(&pattern) {
        true
    } else {
        false
    }
}
/// Check if the pattern is a good one that we can trust
Check if the pattern is a good one that we can trust
Check if the pattern is a good one that we can trust
pub fn is_a_good_pattern<'a>(pattern: &'a str) -> bool {
    let good_patterns = vec![
        "PATH",
        "URI",
        "DATE",
        "MAC",
        "IP",
        "HOSTPORT",
        "USERNAME",
        "BASE16NUM",
        "SYSLOGTIMESTAMP",
        "QS",
        "HOSTNAME",
    ];
    if good_patterns.contains(&pattern) {
        true
    } else {
        false
    }
}
pub fn is_a_good_pattern < ' a > ( pattern : & ' a str ) -> bool { let good_patterns = vec ! [ " " " " " " " " " " " " " " " " " " " " " " ] ; if good_patterns . contains ( & pattern ) { true } else { false } }
Check if the pattern is a good one that we can trust
Check if the pattern is a good one that we can trust
pattern
&'a str
pattern
&'a str