Merge pull request #10972 from MikeMcQuaid/cask_version_more_invalid_characters

cask/dsl/version: remove another invalid character
This commit is contained in:
Mike McQuaid 2021-03-30 16:54:28 +01:00 committed by GitHub
commit 49e5c3cb23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ module Cask
MAJOR_MINOR_PATCH_REGEX = /^([^.,:]+)(?:.([^.,:]+)(?:.([^.,:]+))?)?/.freeze
INVALID_CHARACTERS = /[^0-9a-zA-Z.,:\-_+% ]/.freeze
INVALID_CHARACTERS = /[^0-9a-zA-Z.,:\-_+ ]/.freeze
class << self
private