accept \r as whitespace