use eqat for "\r\n" check instead of substr+iseq