aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-05-26 21:30:56 -0500
committerJack Nagel2014-05-26 21:31:04 -0500
commit152490b7b00ddeac71eb5cb27d145797c981d55c (patch)
tree5a1cf53f69eaa4fc094ce1650e3d6f5834ee0518 /Library
parent105f77745c9b7f7fb898ccea9382b50335b04731 (diff)
downloadbrew-152490b7b00ddeac71eb5cb27d145797c981d55c.tar.bz2
Fix overzealous regex
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/bottle_version.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/bottle_version.rb b/Library/Homebrew/bottle_version.rb
index 6075f967a..3a8f413f2 100644
--- a/Library/Homebrew/bottle_version.rb
+++ b/Library/Homebrew/bottle_version.rb
@@ -30,7 +30,7 @@ class BottleVersion < Version
return m.captures.first unless m.nil?
# e.g. 20120731 from fontforge-20120731.mavericks.bottle.tar.gz
- m = /-(\d+)/.match(stem)
+ m = /-(\d{8})/.match(stem)
return m.captures.first unless m.nil?
super