diff options
author | sanmiguel <[email protected]> | 2016-12-09 20:56:42 +0100 |
---|---|---|
committer | sanmiguel <[email protected]> | 2016-12-09 20:56:42 +0100 |
commit | e521d3be7c188e454eb987b776e9f91228f8df99 (patch) | |
tree | 7aaf01e667ff2e9efcb462f3ab4abcc41defa968 /kerl | |
parent | 56bccd050f89aff5002337a300e6c7feb6413b24 (diff) | |
download | kerl-e521d3be7c188e454eb987b776e9f91228f8df99.tar.gz kerl-e521d3be7c188e454eb987b776e9f91228f8df99.tar.bz2 kerl-e521d3be7c188e454eb987b776e9f91228f8df99.zip |
Greatly simplify regex used
Diffstat (limited to 'kerl')
-rwxr-xr-x | kerl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -375,7 +375,7 @@ do_git_build() get_otp_version() { - echo $1 | sed $SED_OPT -e 's/R?([0-9]{1,2})[.AB]?[-.0-9rc]*(_[a-zA-Z0-9]*)?/\1/' + echo $1 | sed $SED_OPT -e 's/R?([0-9]{1,2}).+/\1/' } get_perl_version() |