<div dir="ltr">On 6 March 2013 11:04, Phil Crooker <span dir="ltr"><<a href="mailto:Phil.Crooker@orix.com.au" target="_blank">Phil.Crooker@orix.com.au</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="font:10pt Tahoma;margin:4px 4px 1px"><div style="FONT-SIZE:13px;FONT-FAMILY:Tahoma,sans-serif">Thanks, it does work on ignore statements with regular expressions but not with simple strings:</div>
<div style="FONT-SIZE:13px;FONT-FAMILY:Tahoma,sans-serif"><br></div>
<div><font face="Tahoma, sans-serif">LOG eventlog_application %^warning COLOR=yellow "IGNORE=No externals have been specified"</font></div>
<div><span style="FONT-FAMILY:Tahoma,sans-serif">LOG eventlog_application %^warning COLOR=yellow IGNORE="No externals have been specified"</span></div></div></blockquote><div><br></div><div style>I would have thought both of these would work.  Might be a bug.</div>

<div style> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font:10pt Tahoma;margin:4px 4px 1px">
<div><font face="Tahoma, sans-serif" style="font-size:10pt">If I escape the spaces or if I add the %, it works.</font></div></div></blockquote><div><br></div><div style>Well that's something.</div><div style> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="font:10pt Tahoma;margin:4px 4px 1px"><div><font face="Tahoma, sans-serif" style="font-size:10pt"> </font><span style="font-size:10pt;font-family:Tahoma,sans-serif">But still, this is not logical - quotes are normally after the equal sign </span></div>

</div></blockquote><div><br></div><div style>Well, no.  This is not illogical, just not familiar to you, that's all.  We're not dealing with a shell script, but a highly-specific configuration file.  The quoting is consistent across Xymon configuration files.</div>

<div style><br></div><div style>But the fact that the quoted string with spaces doesn't match is probably a bug.</div><div style><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="font:10pt Tahoma;margin:4px 4px 1px"><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">and of course it shouldn't be necessary to make this into a regex when it isn't.</span></div></div>
</blockquote>
<div><br></div><div style>That's true.</div><div style><br></div><div style>Cheers</div><div style>Jeremy</div></div><br></div></div>