From a486403eeb4d8b7114f23b20d8b70cc061ba81ac Mon Sep 17 00:00:00 2001 From: Joseph Wayne Norton Date: Fri, 1 Feb 2013 10:11:55 +0900 Subject: Expand regex for matching http://www.erlang.org/download releases The previous regex did not match with the R16A release available for download from the Erlang/OTP website. --- kerl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kerl b/kerl index 0e101bf..f9e1e3f 100755 --- a/kerl +++ b/kerl @@ -114,7 +114,7 @@ if [ $# -eq 0 ]; then usage; fi get_releases() { curl -s $ERLANG_DOWNLOAD_URL/ | \ - sed $SED_OPT -e 's/^.*<[aA] [hH][rR][eE][fF]=\"\/download\/otp_src_(R1[-1234567890ABCD]+)\.tar\.gz\">.*$/\1/' \ + sed $SED_OPT -e 's/^.*<[aA] [hH][rR][eE][fF]=\"\/download\/otp_src_(R1[-0-9A-Za-z_]+)\.tar\.gz\">.*$/\1/' \ -e '/^R/!d' } -- cgit v1.2.3