diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bd2448d13..719eddbbfc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ### Bug Fixes - **core:** Load config file before initialization ([#4932](https://github.com/ScoopInstaller/Scoop/issues/4932)) +- **core:** Allow to use '_' and '.' in bucket name ([#4952](https://github.com/ScoopInstaller/Scoop/pull/4952)) - **depends:** Avoid digits in archive file extension (except for .7z and .001) ([#4915](https://github.com/ScoopInstaller/Scoop/issues/4915)) - **bucket:** Don't check remote URL of non-git buckets ([#4923](https://github.com/ScoopInstaller/Scoop/issues/4923)) - **bucket:** Don't write message OK before bucket is cloned ([#4925](https://github.com/ScoopInstaller/Scoop/issues/4925)) diff --git a/lib/core.ps1 b/lib/core.ps1 index 3199142814..132b56f61c 100644 --- a/lib/core.ps1 +++ b/lib/core.ps1 @@ -895,7 +895,7 @@ function applist($apps, $global) { } function parse_app([string] $app) { - if($app -match '(?:(?[a-zA-Z0-9-]+)\/)?(?.*\.json$|[a-zA-Z0-9-_.]+)(?:@(?.*))?') { + if($app -match '(?:(?[a-zA-Z0-9-_.]+)\/)?(?.*\.json$|[a-zA-Z0-9-_.]+)(?:@(?.*))?') { return $matches['app'], $matches['bucket'], $matches['version'] } return $app, $null, $null