title: Java RegEx Matcher.groupCount returns 0
body: <p>I know this has been asked but I am unable to fix it</p>
  
  <p>For a book object with body (spanish): <code>"quiero mas dinero"</code> (actually quite a bit longer)</p>
  
  <p>My <code>Matcher</code> keeps returning 0 for:</p>
  
  <pre><code>    String s="mas"; // this is for testing, comes from a List&lt;String&gt;
      int hit=0;
      Pattern p=Pattern.compile(s,Pattern.CASE_INSENSITIVE);
      Matcher m = p.matcher(mybooks.get(i).getBody());
      m.find();
      System.out.println(s+"  "+m.groupCount()+"  " +mybooks.get(i).getBody());
      hit+=m.groupCount();
  </code></pre>
  
  <p>I keep getting <code>"mas 0 quiero mas dinero"</code> on console. Why oh why?</p>