Fix regex for finding failed test name.

Refs #9874
Merge branch 'feature/9874_doctest_xunit_output' into develop