No need to check the end line char.