Pattern p = Pattern.compile("Hello, A[a-z]*!");. *. * Matcher m = p.matcher("Hello, Android!");. * boolean b1 = m.matches(); // true.
確定! 回上一頁