http://qs321.pair.com?node_id=771643


in reply to Re^2: Suggestion for regular expression speed improvement.
in thread Suggestion for regular expression speed improvement.

…so that I can parse any format of logs.

Can you elaborate how you hope to handle "any format" with regular expressions?

  • Comment on Re^3: Suggestion for regular expression speed improvement.

Replies are listed 'Best First'.
Re^4: Suggestion for regular expression speed improvement.
by bala.linux (Novice) on Jun 15, 2009 at 15:30 UTC
    By "any format", I meant single line having different formats which can be matched by the users and using groups he can indicate us whats required for him. Further, we will process only the grouped strings. And, not for the logs having multi-lines to convey a mail delivery like qmail logs :)