diff --git a/scanner/scanner.go b/scanner/scanner.go index 6595151..bbf34b2 100644 --- a/scanner/scanner.go +++ b/scanner/scanner.go @@ -169,7 +169,7 @@ func (s *scanner) emitLine(linefeed bool) { // This regular expression, *if immediately followed by a LF+FF*, indicates // end of job from the Moseley MVS 3.8J sysgen and TK4-. var eojRegexp = regexp.MustCompile( - `(?m)\*+.+END.+(JOB|STC)\D+(\d+)\s+(\S+)\s+.+ROOM.+END.+\*+`) + `(?m)\*+.+END.+(JOB|STC|TSU)\D+(\d+)\s+(\S+)\s+.+ROOM.+END.+\*+`) // When we emit a line and page together (e.g. we got a LF followed by FF), // we might be at the end of the job, so we'll check for the end of the