fix regex.exec with subgroup match
travisplexer: pr-485-osx travis ci test