Using it as a base class for MatchRegex. While the latter is using a regex to scan the stdout and stderr files, MatchFileRegex is more generically allowing you to specify which file to scan at __init__ time. Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Change-Id: I2a64dab9c88a632b0a6b400ba02aafe473b3e62d Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/44445 Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br> Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>