linux find multiple filenames

C++
find /home/my_repo | grep -E "(filename1|name2|filename3)"
Source

Also in C++: