Blocking a certain advancement path

Hello! I've been trying to block the main advancements path of a mod but can't get it to work I tried blocking all advancements but that causes crashes due to the mod relying on advancements to work

Here is the mod's folder structure: https://github.com/Aizistral-Studios/Enigmatic-Legacy/tree/1.20.X/src/main/resources/data/enigmaticlegacy/advancements

Here, I block recipes, book and main (this works):

{
                "namespace": "enigmatic_legacy",
                "path": "advancements/.*"
}

Here, I try to block only main (this does not):

{
                "namespace": "enigmatic_legacy",
                "path": "advancements/main/.*"
}
Continue to help post