title: regex pattern to find full stop, exclamation mark or question mark in Java
body: <p>I'm a newbie to regex. Here's the pattern that I could think of :</p>
  
  <p><code>Pattern pattern = Pattern.compile("[.!?]");</code></p>
  
  <p>Because the <a href="http://java.sun.com/developer/technicalArticles/releases/1.4regex/" rel="nofollow">documentation</a> says <code>[abc]  a, b, or c (simple class)</code> . But I'm wrong somehow. :-(</p>