test.lua

Sun, 19 Jul 2020 11:17:28 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Sun, 19 Jul 2020 11:17:28 -0500
changeset 33
55d738116fac
parent 2
3975fa5ed630
permissions
-rw-r--r--

improve regex


require('scan')

h=scan.scan('/home/tuomov/work/newblog/src')

scan.hfold(h, '',
      function(a, n) return a.."/"..n end, 
      function(a, n) print(a.." | "..n) end)
      

mercurial