diff --git a/Library/Homebrew/cask/dsl/version.rb b/Library/Homebrew/cask/dsl/version.rb index 009477ff1a..af78f03089 100644 --- a/Library/Homebrew/cask/dsl/version.rb +++ b/Library/Homebrew/cask/dsl/version.rb @@ -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