matches without io exceptions