I\'m trying to use python regular expressions instead of the linux grep. I usually have a log file like this
StatusExit: Fail - User did not exit properly Sta