title: Dot behavior in regex patterns
body: <pre><code>Pattern p2 = Pattern.compile(".*");
  Matcher m2 = p2.matcher("true");
  System.out.println(m2.matches() + " [" + m2.group() + "]");
  </code></pre>
  
  <p>When I use the code above it is all right. But I don't understand what is going on when I use this regexpr <code>[.]*</code>. It prints <code>false</code>.</p>
  
  <p>How to make a dot as a specific symbol? Or how to make a class of symbols with any characters without \n and \r?</p>