mirror of
https://github.com/opus-tango/minecraft-server-discord-bot.git
synced 2026-03-20 03:55:20 +00:00
add regex test program and another expression
This commit is contained in:
@@ -7,7 +7,12 @@
|
||||
{
|
||||
"type": "groups",
|
||||
"match": "\\[(.*?)\\].*INFO.*\\]: <(.*)> (.*)",
|
||||
"capture": "**[{groups[0]}]**: {groups[2]}"
|
||||
"capture": "**[{groups[1]}]**: {groups[2]}"
|
||||
},
|
||||
{
|
||||
"type": "groups",
|
||||
"match": "\\[(.*?)\\].*WARN.*?\\] \\[(.*?)\\]: (.*)",
|
||||
"capture": "**[{groups[1]}]**: {groups[2]}"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user