Fix depth regex