cross platform regex in Coverage.instrument