The level of concern about the Taliban matches the level of worry about neighboring India, with whom Pakistan has fought several major wars since the two countries emerged as independent nations more than six decades ago.