mirror of
https://github.com/shanmiteko/LotteryAutoScript.git
synced 2026-06-04 21:01:17 +08:00
fix: 带话题正则修改
This commit is contained in:
parent
0ab5ec0540
commit
5ae7801086
@ -385,7 +385,7 @@ class Monitor extends Searcher {
|
||||
: [m_uid, mIsFollowed],
|
||||
description = des.split(/\/\/@.*?:/)[0],
|
||||
needAt = /(?:@|艾特)[^@|(艾特)]*?好友/.test(description),
|
||||
needTopic = [...new Set(description.match(/(?<=[带加上](?:话题|tag).*)#.+?#|(?<=[带加上])#.+?#(?=话题|tag)/ig) || [])].join(' '),
|
||||
needTopic = [...new Set(description.match(/(?<=[带加]上?(?:话题|tag).*)#.+?#|(?<=[带加])上?#.+?#(?=话题|tag)/ig) || [])].join(' '),
|
||||
isRelayDynamic = type === 1,
|
||||
has_key_words = key_words.every(it => new RegExp(it).test(description)),
|
||||
isBlock = blockword.length && new RegExp(blockword.join('|')).test(description + reserve_lottery_text),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user