title: preg_match_all incorrect pattern
body: <p>I'm trying to pick out all the words within a pre-determined pattern, but it's not working:</p>
  
  <pre><code>$html = "&lt;tooltip&gt;Do&lt;/tooltip&gt; you&lt;tooltip&gt;know&lt;/tooltip&gt;";
  </code></pre>
  
  <p>I want preg_match_all to return</p>
  
  <p>Array ( [0] => Array ( [0] => Do) [1] => Array ( [0] => know ) )</p>
  
  <p>Using this pattern:</p>
  
  <pre><code>preg_match_all("/&lt;tooltip ?.*&gt;(.*)&lt;\/tooltip&gt;/", $html, $matches);
  </code></pre>
  
  <p>Instead it's returning:</p>
  
  <p>Array ( [0] => Array ( [0] => Do youknow ) [1] => Array ( [0] => know ) )</p>
  
  <p>I'm guessing it's my pattern that's wrong, but I don't know what?></p>
  
  <p>Any ideas?</p>
  
  <p>Thanks</p>