Tweak version regex.

Enable tarballs named like "fceux-2.1.1.src.tar.bz2"
This commit is contained in:
Adam Vandenberg 2009-10-04 10:35:57 -07:00
parent 25b57a4f97
commit 82bbe5e074

View File

@ -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)