cross platform regex in coverage.instrument