<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 11 September 2014 22:31, Neil Simmonds <span dir="ltr"><<a href="mailto:neilsimmonds1808@gmail.com" target="_blank">neilsimmonds1808@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Not sure why the last reply was truncated. What I intended to say was that all my other tests have double quotes around them as they all contain spaces. I don't think it's the quotes that's the issue although it may be something to do with the escaped double quote just before the word WebContainer</blockquote><div><br></div><div>Yes, the token matching code looks for tabs or spaces as separators, or for double-quotes as book-end terminators for the tokens.  It doesn't know about escaped double-quotes, and so you cannot use them in your regular expressions.  Instead you can could match with a dot, or an equivalent to a quote, such as:</div><div><br></div><div><span style="font-family:Arial,sans-serif;font-size:13px">LOG /xymon/server/etc/test.log "%Thread \x22WebContainer.{1,75} and may be hung*" COLOR=yellow</span><br></div><div><span style="font-family:Arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:Arial,sans-serif;font-size:13px">The "\x22" adds the ASCII character for hex 22, which is the double quote.</span></div><div><br></div><div><span style="font-family:Arial,sans-serif;font-size:13px">J</span></div><div><span style="font-family:Arial,sans-serif;font-size:13px"><br></span></div></div></div></div>