When I try this on my computer, it works fine:
newLISP v.10.3.3 on Linux IPv4/6 UTF-8
Code: Select all
(set 'a '("oneone" "two" "twotwotwo" "three" "threethree"))
(println (filter (fn (x) (find-all {\w{6,12}} x)) a))
but when I try on NearlyFreeSpeech.net
newLISP v.10.2.8 on BSD IPv4 UTF-8
Code: Select all
(set 'a '("oneone" "two" "twotwotwo" "three" "threethree"))
(println (filter (fn (x) (find-all {\w{6,12}} x)) a))
As the code shows, Im after strings 6-12 characters long.
Am I missing something or is there a slight difference causing this from nL 10.2.8 to 10.3.3?
Thanks very much in advance! :)