diff options
| author | Jack Nagel | 2014-01-11 19:59:26 -0600 |
|---|---|---|
| committer | Jack Nagel | 2014-01-11 20:00:34 -0600 |
| commit | 0f5a80a97b83b9aa90792dabac2ea3e9855a3fb3 (patch) | |
| tree | 31d1ea0d5cc339f0f1aeb79a8e37d9677fb78256 /Library/Homebrew/version.rb | |
| parent | 92ac63fd9495e4fc75195191c36d5acebb8a6107 (diff) | |
| download | brew-0f5a80a97b83b9aa90792dabac2ea3e9855a3fb3.tar.bz2 | |
Fix tokenizing openssl style versions
Fixes Homebrew/homebrew#25736.
Diffstat (limited to 'Library/Homebrew/version.rb')
| -rw-r--r-- | Library/Homebrew/version.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/version.rb b/Library/Homebrew/version.rb index a6e4fb807..159d3cb2a 100644 --- a/Library/Homebrew/version.rb +++ b/Library/Homebrew/version.rb @@ -43,7 +43,7 @@ class Version NULL_TOKEN = NullToken.new class StringToken < Token - PATTERN = /[a-z]+[0-9]+/i + PATTERN = /[a-z]+[0-9]*/i def initialize(value) @value = value.to_s |
