private static void testZhimakaimen(){
		Pattern tp=Pattern.compile(TEACH_COMMAND_REGEX);
        Matcher m=tp.matcher("芝麻开门:大家都哦啊的那就垃圾啦");
        if(m.find()){
        	System.out.println(m.group(1));
        }
        String regex = "^(13|15|18)\\d{9}$";  
        Pattern p = Pattern.compile(regex);  
              
        String[] testArr = {  
                "138",  
                "112",  
                "138000000000000",  
                "13800138000"  
        };  
      
        for (String string : testArr) {  
            testMatch(p,string);  
        }
        //=
        regex="=";
        p=Pattern.compile(regex);
        m=p.matcher("1+2+3");
        StringBuffer buffer = new StringBuffer();
        while (!m.hitEnd() && m.find())
        {
          System.out.println(m.start());
          m.appendReplacement(buffer, " ");
        }
        m.appendTail(buffer);
        System.out.println(buffer.toString());
        
        //两个空格
        buffer.delete(0, buffer.length());
        regex="  ";
        p=Pattern.compile(regex);
        m=p.matcher("  lg  ");
        while(!m.hitEnd()&&m.find()){
        	System.out.println(m.start());
            m.appendReplacement(buffer, " ");
        }
        m.appendTail(buffer);
        System.out.println(buffer.toString());
	}