There's already regex usage in [compiletest.rs](https://github.com/mozilla/rust/blob/master/src/compiletest/compiletest.rs#L122-L128). 

Could pull a precompiled regex into the (massive) `Config` struct, and it should be alright? (There already exists an optional regex in that struct)