Skip to content

Commit 75def6c

Browse files
authored
Match on literal .
1 parent c94ebe9 commit 75def6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/info.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ impl Info {
440440
let mut remote_url = String::new();
441441
let mut repository_name = String::new();
442442

443-
let remote_regex = Regex::new(r"remote.[a-zA-Z0-9]+.url").unwrap();
443+
let remote_regex = Regex::new(r"remote\.[a-zA-Z0-9]+\.url").unwrap();
444444

445445
for entry in &config.unwrap().entries(None).unwrap() {
446446
let entry = entry.unwrap();

0 commit comments

Comments
 (0)