🔊 More logs

This commit is contained in:
Baptiste Arnaud 2024-10-01 08:55:27 +02:00
parent 7c08fbd7f2
commit 5136eea7ff
No known key found for this signature in database

View File

@ -25,7 +25,13 @@ export const computeRiskLevel = (typebot: any, params?: Params) => {
`(?<!(https?://|@)[^\\s"]*)\\b${keyword}${
keyword.includes("$") ? "" : `\\b`
}`,
`(?<!(https?://|@)[^\\s"]*)\\b${keyword}\\b`,
`(?<!(https?://|@)[^\\s"]*)\\b${keyword}${`\\b`}`,
`(?<!(https?://|@)[^\\s"]*)\\b${keyword}${
keyword.includes("$") ? "" : "\\b"
}`,
`(?<!(https?://|@)[^\\s"]*)\\b${keyword}${
keyword.includes("$") ? "" : "\\\\b"
}`,
);
}),
/(?<!(https?:\/\/|@)[^\s"]*)\btest\b/.test("test"),