Compare commits

...

11 Commits

Author SHA1 Message Date
ZhanGSKen
73285c8779 <libapputils>Library Release 15.8.6 2025-09-01 07:56:35 +08:00
ZhanGSKen
fa338ec8c7 <apputils>APK 15.8.6 release Publish. 2025-09-01 07:56:11 +08:00
ZhanGSKen
7a3a1f4bcd 添加正则表达式前置预防针工具类 2025-09-01 07:51:20 +08:00
ZhanGSKen
ad991e3da2 <libapputils>Library Release 15.8.5 2025-08-31 23:39:23 +08:00
ZhanGSKen
c0ff228845 <libapputils>Library Release 15.8.5 2025-08-31 04:53:26 +08:00
ZhanGSKen
a0fe8f17a8 <apputils>APK 15.8.5 release Publish. 2025-08-31 04:53:04 +08:00
ZhanGSKen
16bd40fc59 Merge remote-tracking branch 'gitee/appbase' into apputils 2025-08-31 04:51:48 +08:00
ZhanGSKen
ffaf683c54 <libapputils>Library Release 15.8.4 2025-08-31 04:46:19 +08:00
ZhanGSKen
26f5f8d3db 编译参数修复 2025-08-31 04:45:24 +08:00
ZhanGSKen
917e25cdc8 更新基础类库版本 2025-08-31 04:41:42 +08:00
ZhanGSKen
b7f8b76ace <libapputils>Library Release 15.8.4 2025-08-28 21:11:05 +08:00
4 changed files with 41 additions and 9 deletions

View File

@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle #Created by .winboll/winboll_app_build.gradle
#Tue Jun 03 15:05:48 HKT 2025 #Mon Sep 01 07:56:33 HKT 2025
stageCount=5 stageCount=7
libraryProject=libapputils libraryProject=libapputils
baseVersion=15.8 baseVersion=15.8
publishVersion=15.8.4 publishVersion=15.8.6
buildCount=0 buildCount=0
baseBetaVersion=15.8.5 baseBetaVersion=15.8.7

View File

@@ -21,7 +21,7 @@ android {
dependencies { dependencies {
api fileTree(dir: 'libs', include: ['*.jar']) api fileTree(dir: 'libs', include: ['*.jar'])
api 'cc.winboll.studio:libappbase:15.8.2' api 'cc.winboll.studio:libappbase:15.9.5'
// 二维码类库 // 二维码类库
api 'com.google.zxing:core:3.4.1' api 'com.google.zxing:core:3.4.1'

View File

@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle #Created by .winboll/winboll_app_build.gradle
#Tue Jun 03 15:05:42 HKT 2025 #Mon Sep 01 07:56:11 HKT 2025
stageCount=5 stageCount=7
libraryProject=libapputils libraryProject=libapputils
baseVersion=15.8 baseVersion=15.8
publishVersion=15.8.4 publishVersion=15.8.6
buildCount=0 buildCount=0
baseBetaVersion=15.8.5 baseBetaVersion=15.8.7

View File

@@ -0,0 +1,32 @@
package cc.winboll.studio.libapputils.utils;
/**
* @Author ZhanGSKen&豆包大模型<zhangsken@188.com>
* @Date 2025/09/01 07:49
* @Describe .* 前置预防针
regex pointer preventive injection
简称 RegexPPi
*/
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class RegexPPiUtils {
public static final String TAG = "RegexPPiUtils";
//
// 检验文本是否满足适合正则表达式模式计算
//
public static boolean isPPiOK(String text) {
//String text = "这里是一些任意的文本内容";
String regex = ".*";
Pattern pattern = Pattern.compile(regex);
Matcher matcher = pattern.matcher(text);
/*if (matcher.matches()) {
System.out.println("文本满足该正则表达式模式");
} else {
System.out.println("文本不满足该正则表达式模式");
}*/
return matcher.matches();
}
}