Merge branch 'main' into next

This commit is contained in:
GitHub Actions Bot 2024-08-28 08:37:01 +00:00
commit aa9f4a9a0e

View File

@ -41,7 +41,7 @@ export const filterAnalyses = (filters): any[] => {
if (!operator) {
return true;
}
const regex = /\{\{\$(?:[a-zA-Z_]\w*)\.([a-zA-Z_]\w*)(?:\.id)?\}\}/;
const regex = /\{\{\$[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\.(\w+)\.id\}\}/;
const fieldName = jsonlogic?.value?.match?.(regex)?.[1];
if (fieldName) {
results.push(fieldName);