lit::vars::resolve
pub fn text_pattern( pattern: &TextPattern, config: &Config, variables: &mut HashMap<String, String>) -> Regex