Expand a string into a table of strings using shell brace expansion.
luarocks install shexpand
local shexpand = require('shexpand')
shexpand.expand('a.{js,ts}')
shexpand.expand('{spec,test}.{js,ts}')
shexpand.expand('hi.gz{,ip}')
Expand a string into a table of strings using shell brace expansion.
Expand a string into a table of strings using shell brace expansion.
luarocks install shexpand
local shexpand = require('shexpand')
shexpand.expand('a.{js,ts}')
shexpand.expand('{spec,test}.{js,ts}')
shexpand.expand('hi.gz{,ip}')
Expand a string into a table of strings using shell brace expansion.