fix failure to distinguish input/match failure in wide %[ scanf