Mustache, Regular Expressions, Lua and PostgreSQL