What is the python regular expression equivalent of grep -i -A 2 'StatusExit: Succeeded'?

后端 未结 0 1763
太阳男子
太阳男子 2020-12-17 08:40

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         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题