正则匹配替换成com.google.re2j

自带的正则匹配超时无法取消
This commit is contained in:
kunfei committed 2022-10-17 16:52:20 +08:00
1 parent dad573a37e
commit f3e05711f0
4 files changed
+29 -59

No files matched your search

+3
View File
@@ -212,6 +212,9 @@ dependencies {
//implementation('com.github.gedoor:rhino-android:1.8')
implementation(fileTree(dir: 'lib', include: ['rhino-*.jar']))
//正则匹配,android自带的正则匹配出现超时问题无法处理
implementation('com.google.re2j:re2j:1.7')
//网络
implementation('com.squareup.okhttp3:okhttp:4.10.0')
implementation(fileTree(dir: 'cronetlib', include: ['*.jar', '*.aar']))