From: Robby Findler (robby at cs.uchicago.edu) Date: Sun Mar 19 09:37:51 EST 2006 |
|
At Sun, 19 Mar 2006 15:35:25 +0100, Hans Oesterholt-Dijkema wrote: > > > (define (is-space? x) (regexp-match #rx"^[ \t\n]*$" x)) > > > Thanks!, Is > > #rx"^[ \t\n]*$" > > an inline construct? It is a literal syntax for a regular expression. It means that the regular expression is created when the code is compiled, instead of when it is executed. (BTW, Matthew's use of the regexp library was better -- less allocation and a better regexp.) Robby
Posted on the users mailing list. |
|