title: Regular expression matching LINE but NOT a single special word
body: <p>I have a regex matching a <em>line</em> having the word "Mq\w+GetContext"…</p>
  
  <pre><code>^.*Mq\w+GetContext.*$
  </code></pre>
  
  <p>example: <em>MqBufferGetContext</em>, <em>MqDumpGetContext</em>, <em>MqErrorGetContext</em> etc</p>
  
  <p>and NOW my problem… I <strong>dont't</strong> want to have the <em>line</em> matching the word… </p>
  
  <pre><code>MqErrorGetContext
  </code></pre>
  
  <p>try to use</p>
  
  <pre><code>^.*Mq(?!Error)GetContext.*$
  </code></pre>
  
  <p>does not work.</p>