Error handling of the lines where regex doesn't match

前端 未结 0 1136
Happy的楠姐
Happy的楠姐 2021-02-13 15:13

I am trying to read a log file and match some string in each line. Right now, If the line doesn\'t have any matching string the program exits with an error because the length of

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