Skip to content

Commit

Permalink
Update ubi/src/extension.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Dave Rolsky <[email protected]>
  • Loading branch information
jdx and autarch authored Nov 10, 2024
1 parent ad27390 commit dbb7b73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ubi/src/extension.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ fn extension_is_platform(ext_str: &OsStr) -> bool {
Regex::new(
&[ALL_OSES_RE.as_str(), ALL_ARCHES_RE.as_str()]
.iter()
.map(|r| format!("({r})"))
.map(|r| format!("(?:{r})"))
.join("|"),
)
.unwrap()
Expand Down

0 comments on commit dbb7b73

Please sign in to comment.