This needs a review but I think it solves this particular problem.
Caveat: the core of this problem is that we determine some of our page information (number of pieces that use a particular instrument, for example) from the searchcache.dat file and then perform searches on the musiccache.dat. This may seem benign but it means that our regex search pattern is duplicated in 3 places.
Also fixes the problem with Harp counts, which should never have matched piece 1743.
This needs a review but I think it solves this particular problem.
Caveat: the core of this problem is that we determine some of our page information (number of pieces that use a particular instrument, for example) from the
searchcache.dat
file and then perform searches on themusiccache.dat
. This may seem benign but it means that our regex search pattern is duplicated in 3 places.Also fixes the problem with Harp counts, which should never have matched piece 1743.
Close #83