[racket] Regexp character classes

From: gabor papp (gabor.lists at mndl.hu)
Date: Sat Aug 27 06:19:40 EDT 2011

On 8/27/11 10:04 AM, Neil Van Dyke wrote:
> #lang racket/base
> (define str "17.4 25.4 15.7 13.7 19.4 20.9 ")
> (regexp-split #rx"[ \t]+" str)
or with posix character class:
(regexp-split #px"[[:space:]]+" str)



Posted on the users mailing list.