test
This commit is contained in:
parent
93d5ec9b1b
commit
7c12981f43
@ -13,6 +13,8 @@ const parseLogMessage = (log) => {
|
|||||||
|
|
||||||
const linkRegex = /\[.*?\]\s*(.+?)\s*\((\d{17})\).*?!link\s+([A-Z0-9]{6})/i;
|
const linkRegex = /\[.*?\]\s*(.+?)\s*\((\d{17})\).*?!link\s+([A-Z0-9]{6})/i;
|
||||||
const match = log.match(linkRegex);
|
const match = log.match(linkRegex);
|
||||||
|
console.log('Parsing log:', log);
|
||||||
|
console.log('Regex match:', match);
|
||||||
|
|
||||||
if (match) {
|
if (match) {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user