[plt-scheme] Checking if strings are only whitespace

From: Alexander Schmolck (a.schmolck at gmail.com)
Date: Mon Mar 20 13:31:05 EST 2006

Robby Findler <robby at cs.uchicago.edu> writes:

> (BTW, Matthew's use of the regexp library was better -- less allocation
> and a better regexp.)

The regexp solutions so far certainly don't handle non-ascii whitespace
(and what about vertical tabs?).

Wouldn't #rx"^\s+$" just work?


Posted on the users mailing list.