grep can look for a list of patterns written in a file with grep -f patterns_file search_files
grep
grep -f patterns_file search_files
Can ack read a list of patterns from a file?
ack
No it can't, after looking at the features comparison
grep, git-grep and rg can do it.
git-grep
rg