Expose LUA string pattern capabilities to nodejs
(Work in progress)
const [match, d, m, y] = strmatch("04/19/64", "(%d+)/(%d+)/(%d+)");
console.log(`date=${y}-${m}-${d}`);
const [, email] = strmatch("How are you today [email protected]", "^.-([A-Za-z0-9%.]+@[%a%d]+%.[%a%d]+).-$");
console.log(`email=${email}`);