use Lazy;
use Regex;
use ;
/// A global static variable to hold host patterns, which is a mapping of labels to compiled regex patterns.
pub static HOST_PATTERNS: =
new;
/// Initializes the global host patterns with the provided patterns.
///
/// # Arguments
///
/// `patterns`: An iterator of tuples where each tuple contains a label (String) and a compiled regex (Regex).