Hello,
I'm having issues with line break for some reason. I'm looking to break an event every 6 lines. Any suggestions?
Log Example:
Total Operations
Currents/sec:Max/sec:Success:Failed
2
144
184469195
201
Key Generate
Current/sec:max/sec:Success:Failed
0
0
0
0
Key Version Generate
Currect/sec:Max/sec:Success:Failed
0
0
0
0
Key Version Generate
Currect/sec:Max/sec:Success:Failed
0
0
0
0
Perhaps someone with better regex-fu than me can come with an expression that matches exactly 6 lines. In the meantime, this may work for you. It puts a break between a number and a word.
LINE_BREAKER = \d+([\r\n]+)\w
Perhaps someone with better regex-fu than me can come with an expression that matches exactly 6 lines. In the meantime, this may work for you. It puts a break between a number and a word.
LINE_BREAKER = \d+([\r\n]+)\w