Mangago: new regex update (#5136)

new regex
This commit is contained in:
kana-shii 2024-09-22 03:40:38 -03:00 committed by GitHub
parent 303272b08b
commit 3f5fbfb078
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = 'Mangago'
extClass = '.Mangago'
extVersionCode = 18
extVersionCode = 19
isNsfw = true
}

View File

@ -172,7 +172,7 @@ class Mangago : ParsedHttpSource(), ConfigurableSource {
private var titleRegex: Regex =
Regex(
"(?:\\([^()]*\\)|\\{[^{}]*\\}|\\[(?:(?!]).)*]|«[^»]*»|〘[^〙]*〙|「[^」]*」|『[^』]*』|≪[^≫]*≫|﹛[^﹜]*﹜|𖤍.+?𖤍|/.+?)\\s*|([|/~].*)",
"(?:\\([^()]*\\)|\\{[^{}]*\\}|\\[(?:(?!]).)*]|«[^»]*»|〘[^〙]*〙|「[^」]*」|『[^』]*』|≪[^≫]*≫|﹛[^﹜]*﹜|〖[^〖〗]*〗𖤍.+?𖤍|/.+?)\\s*|([|/~].*)",
RegexOption.IGNORE_CASE,
)