Apparently (probably because of the structural changes), my regex did not recognize some of the newlines in the new output.
So I did manage to fix my issue. I still have other issues, but I’ll create another thread for those as they aren’t caused by regex problems.