title: How can I combine a positive and negative condition in a regex?
body: <p>I fairly new to regular expressions and need some help.  I need to filter some lines using regex in Perl. I am going to pass the regex to another function so it needs to be done in a single line.</p>
  
  <p>I want to select only lines that contain <code>"too long"</code>and that don't begin with <code>"SKIPPING"</code></p>
  
  <p>Here are my test strings:</p>
  
  <blockquote>
    <p>SKIPPING this bond since maturity too long<br>
    TKIPPING this bond since maturity too long<br>
    SLAPPING this bond since maturity too long<br>
    Hello this maturity too long<br>
    this is too long<br>
    hello there  </p>
  </blockquote>
  
  <p>The regex rule should match the following on 'too long":</p>
  
  <blockquote>
    <p>SKIPPING this bond since maturity too long<br>
    SLAPPING this bond since maturity too long<br>
    Hello this maturity too long<br>
    this is too long  </p>
  </blockquote>
  
  <p>and it should skip:</p>
  
  <blockquote>
    <p>"hello there" because it doesn't contain 'too long'<br>
    "SKIPPING this bond since maturity too long" because it containst 'SKIPPING'  </p>
  </blockquote>