fn should_deny_regex(url_to_test: &Url, denier: &Regex) -> bool {
    log::trace!(
        "enter: should_deny_regex({}, {})",
        url_to_test.as_str(),
        denier,
    );

    let result = denier.is_match(url_to_test.as_str());

    log::trace!("exit: should_deny_regex -> {}", result);
    result
}
/// determine if a url should be denied based on the given regular expression
///
/// the regex ONLY matches against the PATH of the url (not the scheme, host, port, etc)
determine if a url should be denied based on the given regular expression
the regex ONLY matches against the PATH of the url (not the scheme, host, port, etc)
determine if a url should be denied based on the given regular expression the regex ONLY matches against the PATH of the url ( not the scheme host port etc )
fn should_deny_regex(url_to_test: &Url, denier: &Regex) -> bool {
    log::trace!(
        "enter: should_deny_regex({}, {})",
        url_to_test.as_str(),
        denier,
    );
    let result = denier.is_match(url_to_test.as_str());
    log::trace!("exit: should_deny_regex -> {}", result);
    result
}
fn should_deny_regex ( url_to_test : & Url , denier : & Regex ) -> bool { log :: trace ! ( " " url_to_test as_str ( ) denier ) ; let result = denier . is_match ( url_to_test . as_str ( ) ) ; log :: trace ! ( " " result ) ; result }
determine if a url should be denied based on the given regular expression
the regex ONLY matches against the PATH of the url (not the scheme, host, port, etc)
determine if a url should be denied based on the given regular expression the regex ONLY matches against the PATH of the url ( not the scheme host port etc )
url_to_test
&Url
denier
&Regex