Merge remote-tracking branch 'origin/master'

pull/1673/head
kunfei 3 years ago
commit 129d510aa2
  1. 2
      README.md
  2. 2
      app/src/main/assets/web/bookshelf/js/about.9f8f9ac0.js
  3. 2
      app/src/main/java/io/legado/app/constant/AppPattern.kt

@ -95,7 +95,7 @@ https://gedoor.github.io/about.html
* [书源规则](https://alanskycn.gitee.io/teachme) * [书源规则](https://alanskycn.gitee.io/teachme)
* [更新日志](/app/src/main/assets/updateLog.md) * [更新日志](/app/src/main/assets/updateLog.md)
* [帮助文档](/app/src/main/assets/help/appHelp.md) * [帮助文档](/app/src/main/assets/help/appHelp.md)
* [web端](https://github.com/celetor/web-yuedu3) * [web端](https://github.com/gedoor/legado.web)
<a href="#readme"> <a href="#readme">
<img src="https://img.shields.io/badge/-返回顶部-orange.svg" alt="#" align="right"> <img src="https://img.shields.io/badge/-返回顶部-orange.svg" alt="#" align="right">

File diff suppressed because one or more lines are too long

@ -11,7 +11,7 @@ object AppPattern {
//匹配格式化后的图片格式 //匹配格式化后的图片格式
val imgPattern: Pattern = Pattern.compile("<img[^>]*src=\"([^\"]*(?:\"[^>]+\\})?)\"[^>]*>") val imgPattern: Pattern = Pattern.compile("<img[^>]*src=\"([^\"]*(?:\"[^>]+\\})?)\"[^>]*>")
//dataURL图片类型 //dataURL图片类型
val dataUriRegex = Regex("data:[\\w/\\-\\.]+;base64,(.*)") val dataUriRegex = Regex("data:.*?;base64,(.*)")
val nameRegex = Regex("\\s+作\\s*者.*|\\s+\\S+\\s+著") val nameRegex = Regex("\\s+作\\s*者.*|\\s+\\S+\\s+著")
val authorRegex = Regex("^\\s*作\\s*者[::\\s]+|\\s+著") val authorRegex = Regex("^\\s*作\\s*者[::\\s]+|\\s+著")

Loading…
Cancel
Save