search for regular expressions in filename and content