title: What is the meaning of [...] regex?
body: <p>I am new to regex going through the <a href="http://www.tutorialspoint.com/java/java_regular_expressions.htm" rel="nofollow">tutorial</a> I found the regex <code>[...]</code> says <code>Matches any single character in brackets.</code>. So I tried</p>
  
  <pre><code>System.out.println(Pattern.matches("[...]","[l]"));
  </code></pre>
  
  <p>I also tried escaping brackets</p>
  
  <pre><code>System.out.println(Pattern.matches("[...]","\\[l\\]"));
  </code></pre>
  
  <p>But it gives me <code>false</code> I expected <code>true</code> because <code>l</code> is inside brackets.</p>
  
  <p>It would be helpful if anybody clear my doubts.</p>