Support for search-by-language

Not the world's finest C code, but does the job.   Fixes #128