title: Find 2 Strings in sentence within certain distance
body: <p>I am trying to presence of 2 strings in any order within certain distance between them</p>
  
  <p>for example I have 2 sentences below</p>
  
  <pre><code>sentence = "Tiger is eating meat"
  sentence = "Meat is eaten by Tiger"
  </code></pre>
  
  <p>I want to search for Tiger and Meat </p>
  
  <p>My regex currently does this but there is no limit on how far apart Tiger and mean can be. It will always return search result when Tiger and meat are next to each other or 100's of strings apart. I want to limit number of words between Tiger and meat to say 5</p>
  
  <pre><code>re.search(r"(?=.*Tiger)(?=.*Meat)", sentence, re.IGNORECASE) 
  </code></pre>
  
  <p>or</p>
  
  <pre><code>re.search(r"(?=.*Meat)(?=.*Tiger)", sentence, re.IGNORECASE) 
  </code></pre>
  
  <p>Ideally I would like to have one regex to search for tiger and meat in any order , but can live with 2 regex. 
  Any help will be greatly appreciated</p>