<p dir="ltr">Well, regexp is probably the best option.</p>
<p dir="ltr">Or three patterns in db-parser</p>
<p dir="ltr">What kind of application is this?</p>
<div class="gmail_quote">On Oct 19, 2015 7:07 PM, &quot;Giovanni Mancuso&quot; &lt;<a href="mailto:giovanni.mancuso@par-tec.it">giovanni.mancuso@par-tec.it</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
i&#39;m writing a parser for lines having a repeated field on the same line<br>
eg(Recipient is repeated 3 times):<br>
<br>
ID: 123AABB456 Sender: <a href="mailto:user1@example.com">user1@example.com</a> Recipient: <a href="mailto:user2@example.com">user2@example.com</a><br>
Recipient: <a href="mailto:user3@example.com">user3@example.com</a> Recipient: <a href="mailto:user3@example.com">user3@example.com</a> Status: Sent<br>
<br>
I would like to have a CUSTOM MACRO with all recipients.<br>
<br>
Is there a way to do this?<br>
<br>
Thanks<br>
<br>
--<br>
<br>
<br>______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
<br></blockquote></div>