Well, instead of clearing a buffer, write the regular expression in the
way that it would match only once. Note that by default ^ and $ match
only the beginning and end of the buffer, not the newlines in it. For
example, (.*)\n(.*)$ matches two last lines from the buffer.
kind regards,
risto
I tested the rule briefly and for me it fired only once. On the other
hand, I acknowledge I hadn't time to consider every possible side-effect
of the expression. However, you might want to consider the following
expression: (?s).*WY_LOG_TYPE_ERROR\s*\*\*(.*)\*\*$
Due to greedy matching of
On 03/25/2011 02:27 PM, Supratik Goswami wrote:
Hi
I want to extract everything with multiple lines between two markers.
I want to display everything between:
/WY_LOG_TYPE_ERROR **/
/**/
/
/
/
/
So if the text entered in the log file
/WY_LOG_TYPE_ERROR **/