晚上好!我有传入的字符串参数,类似于 "522|625|925|...6234|" 我创建常规字符串这样的外观。"([0-9]\|)*" 将模式引入应用程序和...
public static String decrypt( String message, int incr ) {
String result = "";
Pattern pattern = Pattern.compile("([0-9]\\|)*");
Matcher matcher = pattern.matcher(message);
boolean look = matcher.lookingAt();
if (look) {
Log.d("MyActivity","exist: " + message);
我可以在日志猫上看到“存在:niiice”行。我做错了什么?