debugging why regular expression is failing in travis