Maybe only yield if block != ""? Otherwise, you'll get empty blocks if the cheat's author used two or more newlines to separate the blocks... of course it doesn't matter right now (the empty block won't match any search terms), but if you want to reuse this function later for more structure-related features (CC #67), that would be useful, I think.