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

自带的正则匹配超时无法取消
This commit is contained in:
kunfei
2022-10-17 16:52:20 +08:00
parent 99a89039c8
commit 6d349e1eab
4 changed files with 29 additions and 59 deletions
+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']))