fix for regex via simonista (https://gist.github.com/simonista/4394675/raw/616642b29d87672c14120ffbce056b95d7d44442/buildStatus.coffee)