I don't know about ":space:", but you can do regexp character classes the old-fashioned way:

#lang racket/base
(define str "17.4     25.4     15.7     13.7     19.4     20.9     ")
(regexp-split #rx"[ \t]+" str)
;;==> '("17.4" "25.4" "15.7" "13.7" "19.4" "20.9" "")

I also used "regexp" instead of "pregexp" here.

--
http://www.neilvandyke.org/
_________________________________________________
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/users

Reply via email to