Support windows style new lines in isWhitespace