Yeah, I was just thinking if the user accidentally did something like regexp-search for "." in all files. I just pushed some changes to limit both the total number as well as the in-file number; it will leak over the limit a bit since I didn't want to truncate the results for a single file, but I think it's fine since this is an edge case anyway.