title: Regex match if not before and after
body: <p>How can I match 'suck' only if not part of 'honeysuckle'?</p>
  
  <p>Using lookbehind and lookahead I can match suck if not 'honeysuck' or 'suckle', but it also fails to catch something like 'honeysucker'; here the expression <em>should</em> match, because it doesn't end in <code>le</code>:</p>
  
  <pre><code>re.search(r'(?&lt;!honey)suck(?!le)', 'honeysucker')
  </code></pre>