mirror of
https://github.com/jie65535/mirai-console-jnr-plugin.git
synced 2025-12-15 18:41:35 +08:00
fix: 修复禁言动作的正则检查
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
fun main(){
|
||||
val regex = Regex("(?<=#group\\.mute(\\\\)?:)\\d+")
|
||||
println(regex.find("#group.mute:abc")?.value?.toLong())
|
||||
println(regex.find("#group.mute:12345")?.value?.toLong())
|
||||
}
|
||||
Reference in New Issue
Block a user