csearch already prints the trigrams and number of files matched from the index
if -verbose mode is on.
This patch preprocesses the list of fileids so we can print how many were
matched by the filename regex.
It does double the number of calls to ix.Name(fileid), but that call looks
cheap and any slowdown would be dwarfed by the disk access during the grep
stage anyway.
Original issue reported on code.google.com by dgryski on 17 Feb 2012 at 1:50
Original issue reported on code.google.com by
dgryski
on 17 Feb 2012 at 1:50Attachments: