British scholar and Celticist (1840-1915)