String s=".";System.out.println("\\.");System.out.println(s.matches("\\."));输出结果是:\.true我想知道true是怎么来的?想听听你们看法。。