From 82bbe5e074feb587ca85e8bb221f0815cf400e86 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sun, 4 Oct 2009 10:35:57 -0700 Subject: [PATCH] Tweak version regex. Enable tarballs named like "fceux-2.1.1.src.tar.bz2" --- Library/Homebrew/pathname+yeast.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/pathname+yeast.rb b/Library/Homebrew/pathname+yeast.rb index 4385ddf8c8..bfbba61bf2 100644 --- a/Library/Homebrew/pathname+yeast.rb +++ b/Library/Homebrew/pathname+yeast.rb @@ -142,7 +142,7 @@ class Pathname return $1 if $1 # eg foobar-4.5.0-bin - /-((\d+\.)+\d+[abc]?)-(bin|src|sources)$/.match stem + /-((\d+\.)+\d+[abc]?)[-.](bin|src|sources)$/.match stem return $1 if $1 # eg. otp_src_R13B (this is erlang's style)