a little bit of regex to grab the diagnostics from inputs.dat