Pattern p = Pattern. compile ("a*b"); Matcher m = p. matcher ("aaaaab"); boolean b = m. matches ();. 在僅使用一次正則表達式時,可以方便地通過此類別定義 ...
確定! 回上一頁