add regex test program and another expression

This commit is contained in:
Nayan
2025-08-26 12:35:38 -04:00
parent c617f63c34
commit 9a78c304c4
2 changed files with 33 additions and 1 deletions

View File

@@ -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]}"
}
]
}