我试图在Android应用程序中使用java后端的方法(问题可能是后端使用的是JAVA 1.7,以及Android应用程序JAVA 1.6).方法是:
public static boolean isAlphabetCharacter(String letter) {
String pattern = "\\A\\pL+\\z";
return letter.matches(pattern);
}
Run Code Online (Sandbox Code Playgroud)
它崩溃了: Incorrect Unicode property near index ...
| 归档时间: |
|
| 查看次数: |
566 次 |
| 最近记录: |