title: What's wrong with negative lookahead? Python regex
body: <p>I need parse links from html, but those of them, which are not followed by 'class="mw-disambig"'. I writed regexp </p>
  
  <pre><code>r'&lt;a href="(.+?)"(?! class="mw-disambig")'
  </code></pre>
  
  <p>but it still parses something like this </p>
  
  <pre><code>  'https://ru.wikipedia.org/wiki/Тюльпан_(значения)" class='
  </code></pre>
  
  <p>Orginal html:</p>
  
  <pre><code>&lt;a href="here was link" class="mw-disambig" title="Тюльпан"...&gt;
  </code></pre>
  
  <p>It shouldnt be added or I'm not understanding?</p>
  
  <p>What I am doing wrong?</p>