From ebfde825561e434cb7d9a9da5bbe2398290030c2 Mon Sep 17 00:00:00 2001 From: Jan Smutny Date: Sun, 19 Apr 2020 23:32:30 +0200 Subject: [Feature] extend lua api add new value accessible by key 'raw' to the table returned by util:parse_mail_address and task:get_from --- src/lua/lua_util.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lua/lua_util.c') diff --git a/src/lua/lua_util.c b/src/lua/lua_util.c index 7f9918c61..5948f4b4b 100644 --- a/src/lua/lua_util.c +++ b/src/lua/lua_util.c @@ -204,6 +204,7 @@ LUA_FUNCTION_DEF (util, glob); * @function util.parse_mail_address(str, [pool]) * Parses email address and returns a table of tables in the following format: * + * - `raw` - the original value without any processing * - `name` - name of internet address in UTF8, e.g. for `Vsevolod Stakhov ` it returns `Vsevolod Stakhov` * - `addr` - address part of the address * - `user` - user part (if present) of the address, e.g. `blah` -- cgit v1.2.3