Home
last modified time | relevance | path

Searched refs:Regex (Results 1 – 1 of 1) sorted by relevance

/development/tools/cargo_embargo/src/cargo/
Dcargo_out.rs24 use regex::Regex;
105 fn match1(regex: &Regex, s: &str) -> Option<String> { in match1() argument
109 fn match3(regex: &Regex, s: &str) -> Option<(String, String, String)> { in match3() argument
132 static RUSTC_REGEX: Lazy<Regex> = in parse()
133 Lazy::new(|| Regex::new(r"^ +Running `rustc (.*)`$").unwrap()); in parse()
140 static RUSTC_VV_REGEX: Lazy<Regex> = in parse()
141 Lazy::new(|| Regex::new(r"^ +Running `.*CARGO_.*=.*$").unwrap()); in parse()
158 static RUSTC_VV_CMD_ARGS: Lazy<Regex> = in parse()
159 Lazy::new(|| Regex::new(r"^ *Running `.*CARGO_.*=.* rustc (.*)`$").unwrap()); in parse()
168 static CC_AR_VV_REGEX: Lazy<Regex> = Lazy::new(|| { in parse()
[all …]