Mangago: new regex update (#5136)

new regex
This commit is contained in:
kana-shii 2024-09-22 03:40:38 -03:00 committed by Draff
parent e145bdb6bc
commit 660abdf599
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
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,
)