If you use Megadiff, please cite the following technical report: "Megadiff: A Dataset of 600k Java Source Code Changes Categorized by Diff Size". Technical Report 2108.04631, Arxiv; 2021.
Why bother with complicated regular expressions when you can point and click your way to finding the files and folders you need?