Skip to content

Commit

Permalink
Merge pull request #365 from tafia/patch-2
Browse files Browse the repository at this point in the history
Allow dot paths (.conda) to be found
  • Loading branch information
konstin authored Oct 22, 2020
2 parents c0e127b + 8723641 commit c7867a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python_interpreter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ fn find_all_windows(target: &Target) -> Result<Vec<String>> {
// The regex has three parts: The first matches the name and skips
// comments, the second skips the part in between and the third
// extracts the path
let re = Regex::new(r"^([^#].*?)[\s*]+([\w\\:-]+)$").unwrap();
let re = Regex::new(r"^([^#].*?)[\s*]+([\w\\:.-]+)\s*$").unwrap();
let mut paths = vec![];
for i in lines {
if let Some(capture) = re.captures(&i) {
Expand Down

0 comments on commit c7867a4

Please sign in to comment.