On 15 November 2012 01:36, Gore, David W (David) <span dir="ltr"><<a href="mailto:david.gore@verizon.com" target="_blank">david.gore@verizon.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Regular expressions work:<br>
<br>
~/server/bin/xymon localhost 'xymondboard test=^disk$ host=<a href="http://foo.example.com" target="_blank">foo.example.com</a> fields=cookie'<br></blockquote><div><br></div><div>Yeah, I would have thought so too, but this doesn't actually work (for me).  When I use "test=ntp$" I get a match on both "ntp" and "ntpsync" tests.  I'm guessing that the "test" keyword uses the pcre library with an option like PCRE_NOTEOL - because it does work (excludes "ntpsync") if I use "test=ntp\z" - but I can't find where in the code this is set.  The same happens when I use a "host=" regular expression.</div>

<div><br></div><div>Cheers</div><div>Jeremy</div><div><br></div></div>