update regex test count + get regex.exec index outside of the loop
travisplexer: pr-485-arm travis ci test