]>
Commit | Line | Data |
---|---|---|
f1e03beb JP |
1 | --- firefox-78.0/testing/geckodriver/src/capabilities.rs.orig 2020-07-01 11:46:43.489401648 +0200 |
2 | +++ firefox-78.0/testing/geckodriver/src/capabilities.rs 2020-07-01 11:47:03.525900589 +0200 | |
3 | @@ -79,7 +79,7 @@ | |
4 | ||
5 | fn version_from_binary(&self, binary: &PathBuf) -> Option<String> { | |
6 | let version_regexp = | |
7 | - Regex::new(r#"\d+\.\d+(?:[a-z]\d+)?"#).expect("Error parsing version regexp"); | |
8 | + Regex::new(r#"[0-9]+\.[0-9]+(?:[a-z][0-9]+)?"#).expect("Error parsing version regexp"); | |
9 | let output = Command::new(binary) | |
10 | .args(&["-version"]) | |
11 | .stdout(Stdio::piped()) |