Fix pattern matching order in lexReadSingleChar