INNER CODE UNIT · Rust
new
Drew-Alleman/DataSurgeon · src/main.rs:312
fn new() -> Self {
Self {
..Default::default()
}
}
// Builds a regex query to search for important information
//
// # Return
//
// * `HashMap<&'static str, Regex>` - A HashMap containg the content type and the regex associated
// Builds a regex query to search for important information
//
// # Return
//
// * `HashMap<&'static str, Regex>` - A HashMap containg the content type and the regex associated
fn build_regex_query(&self) -> HashMap<String, Regex>{
let mut regex_map: HashMap<String, Regex> = [