Unfortunately I don't get to see any error message, as I only have the game engine logs. It just fails with an error saying it's unable to bind the dll (and then it won't run any of the functions in the dll).
Works fine on one computer, but not on the other (both running windows 10). And it's only when I define a regex var.
Edit: If this helps, I've also just discovered that using std::filesystem causes the same problem (not working on one machine but fine on the other):