Mac search no longer searching within files for text matches?
grep command can do the same thing:

To find word "main" in all files(and directories) in the current working directory
In terminal: grep -r main *