title: How do I use asterisk in lookbehind regex in python?
body: <p>My test string:</p>
  
  <pre><code>1. default, no   hair, w/o glass
  2. ski suit
  3. swim suit
  </code></pre>
  
  <p>How do I detect if there is a "no" or "w/o" before hair (there could be more than 1 spaces in between)?</p>
  
  <p>The final goal:</p>
  
  <pre><code>1. default, no   hair, w/o glass    returns False
  1. default, no hair, w/o glass    returns False
  1. default, w/o hair, w/o glass    returns False
  1. default, w hair, w/o glass    returns True
  </code></pre>
  
  <p>The goal is to tell whether glass should be used or not.</p>
  
  <p>My attempt: <code>(?&lt;!no\s)hair</code> (<a href="http://rubular.com/r/PdKbmyxpGh" rel="nofollow">http://rubular.com/r/PdKbmyxpGh</a>)</p>
  
  <p>You can see that in the above example, if there are more than 1 space, then my regex won't work.</p>