title: Use of reluctant quantifier in regex
body: <p>I have not used the reluctant quantifier in regex so far and I have a look at some questions of the site to apprehend its function and its use. Although that the <a href="https://stackoverflow.com/questions/2833694/confusion-in-regexp-reluctant-quantifier-java">similar question</a> is quite descriptive, I still cannot understand how it is associated with the example in the <a href="http://docs.oracle.com/javase/tutorial/essential/regex/quant.html" rel="nofollow noreferrer">java tutorial</a>. I have understood that the reluctant quantifier matches as few as possible cases. So, how does it explain that a regex</p>
  
  <pre><code>".*?foo"
  </code></pre>
  
  <p>on a String</p>
  
  <pre><code>"xfooxxxxxxfoo"
  </code></pre>
  
  <p>returns two matches: <code>"xfoo"</code> and <code>"xxxxxxfoo"</code>?</p>
  
  <p>Moreover, since the explanation of the possessive quantifier is also insufficient, could somebody explain why the regex </p>
  
  <pre><code>".*+foo"
  </code></pre>
  
  <p>on the same String does not match anything? </p>