Fix bug for python2 when parsing the CHECK directives in a file with dos line endings. The extra line ending character would become part of the regex pattern which would mean it wouldn't match anything!
Fix bug for python2 when parsing the CHECK directives in a file with
dos line endings. The extra line ending character would become
part of the regex pattern which would mean it wouldn't match
anything!

stp/OutputCheck,stp/OutputCheck,stp/OutputCheck,stp/OutputCheck