mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Fix title regex (PR #3310)
This commit is contained in:
parent
e03c76e739
commit
e0d48c61fa
@ -38,7 +38,7 @@ export const formatTitle = (
|
||||
const now = new Date()
|
||||
const builtInVariables: StringMap = {
|
||||
title: document.title
|
||||
.replace(/第[0-9]*[一二三四五六七八九十百千]*[集话]-[^-]+-[^-]+-[^-]+在线观看-bilibili-哔哩哔哩$/, '')
|
||||
.replace(/第[0-9]*[零一二三四五六七八九十百千]*[集话]-[^-]+-[^-]+-[^-]+在线观看-bilibili-哔哩哔哩$/, '')
|
||||
.replace(/-[^-]+-[^-]+-[^-]+在线观看-bilibili-哔哩哔哩$/, '')
|
||||
.replace(/-[^-]+-[^-]+在线观看-bilibili-哔哩哔哩$/, '')
|
||||
.replace(/:([^:]+?)_.+?_bilibili_哔哩哔哩$/, '')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user