On Thu, May 02, 2019 at 02:17:25PM +0200, Peter Bex wrote: > > Hm, that is somewhat surprising. I checked irregex upstream, > but as far as I can tell, this has never worked. In extremely > old versions this would raise an internal error and in newer > versions it returns the empty list. > > I can take a look but I'm not even sure what the correct behaviour is > supposed to be. >
I guess I expected something like this (from Ruby): home> rlwrap irb irb(main):001:0> "foobar".split(//) => ["f", "o", "o", "b", "a", "r"] irb(main):002:0> "foobar".split(/\s*/) => ["f", "o", "o", "b", "a", "r"] Even if "" didn't work, I would expect "\\s*" to tokenize a string, eliminating whitespace. joshua _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users