Lines Matching refs:matcher
21 import java.util.regex.Matcher;
31 t = Patterns.TOP_LEVEL_DOMAIN.matcher("com").matches();
35 t = Patterns.TOP_LEVEL_DOMAIN.matcher("me").matches();
39 t = Patterns.TOP_LEVEL_DOMAIN.matcher("xn--0zwm56d").matches();
43 t = Patterns.TOP_LEVEL_DOMAIN.matcher("\uD55C\uAD6D").matches();
46 t = Patterns.TOP_LEVEL_DOMAIN.matcher("mem").matches();
49 t = Patterns.TOP_LEVEL_DOMAIN.matcher("xn").matches();
52 t = Patterns.TOP_LEVEL_DOMAIN.matcher("xer").matches();
60 t = Patterns.WEB_URL.matcher("http://www.google.com").matches();
64 t = Patterns.WEB_URL.matcher("http://www.google.me").matches();
66 t = Patterns.WEB_URL.matcher("google.me").matches();
70 t = Patterns.WEB_URL.matcher("http://xn--fsqu00a.xn--0zwm56d").matches();
72 t = Patterns.WEB_URL.matcher("xn--fsqu00a.xn--0zwm56d").matches();
77 t = Patterns.WEB_URL.matcher("http://xn--4gbrim.xn----rmckbbajlc6dj7bxne2c.xn--wgbh1c/ar/default.aspx").matches();
79 t = Patterns.WEB_URL.matcher("xn--4gbrim.xn----rmckbbajlc6dj7bxne2c.xn--wgbh1c/ar/default.aspx").matches();
83 t = Patterns.WEB_URL.matcher("http://\uD604\uAE08\uC601\uC218\uC99D.kr").matches();
85 t = Patterns.WEB_URL.matcher("\uD604\uAE08\uC601\uC218\uC99D.kr").matches();
88 t = Patterns.WEB_URL.matcher("\uB3C4\uBA54\uC778.\uD55C\uAD6D").matches();
91 t = Patterns.WEB_URL.matcher("http://brainstormtech.blogs.fortune.cnn.com/2010/03/11/" +
95 t = Patterns.WEB_URL.matcher("ftp://www.example.com").matches();
98 t = Patterns.WEB_URL.matcher("http://www.example.com:8080").matches();
101 t = Patterns.WEB_URL.matcher("http://www.example.com:8080/?foo=bar").matches();
104 t = Patterns.WEB_URL.matcher("http://www.example.com:8080/~user/?foo=bar").matches();
112 t = Patterns.IP_ADDRESS.matcher("172.29.86.3").matches();
115 t = Patterns.IP_ADDRESS.matcher("1234.4321.9.9").matches();
123 t = Patterns.DOMAIN_NAME.matcher("mail.example.com").matches();
126 t = Patterns.DOMAIN_NAME.matcher("google.me").matches();
130 t = Patterns.DOMAIN_NAME.matcher("\uD604\uAE08\uC601\uC218\uC99D.kr").matches();
133 t = Patterns.DOMAIN_NAME.matcher("__+&42.xer").matches();
137 t = Patterns.DOMAIN_NAME.matcher("test.yu").matches();
141 t = Patterns.DOMAIN_NAME.matcher("xn--4gbrim.xn----rmckbbajlc6dj7bxne2c.xn--wgbh1c").matches();
149 t = Patterns.PHONE.matcher("(919) 555-1212").matches();
152 t = Patterns.PHONE.matcher("2334 9323/54321").matches();
183 Matcher m = Patterns.PHONE.matcher(test);