Support windows style new lines in isWhitespace

Windows style new lines are whitespace characters too.
ok