in reply to Re: Log Parsing
in thread Log Parsing

its working fine but only problem is its providing timing for topics where 1 is appended not 0 .I mean its giving timing for 12772_8287_20170317_IN_1 but not for 12772_8287_20170317_IN_0.

Replies are listed 'Best First'.
Re^3: Log Parsing
by poj (Abbot) on Apr 03, 2017 at 06:08 UTC

    Make this regex more specific

    #if (/(Started|Done).+topic (\d+_(\d+)_.+)/){ if (/(Started|Done).+topic (\d+_(\d+)_\d+_IN_0)/){
    poj
      Thanks I tried if (/(Started|Done).+topic (\d+_(\d+)_\d+_IN_[0-1])/) but it is working either for 0 or for 1 but I want it to work with both.

        Show an example of the line that it is not working for