From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 9B7AE22A46 for ; Tue, 8 May 2018 09:21:29 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uahGju5iN9uu for ; Tue, 8 May 2018 09:21:29 -0400 (EDT) Received: from smtp38.i.mail.ru (smtp38.i.mail.ru [94.100.177.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 546BE21B79 for ; Tue, 8 May 2018 09:21:29 -0400 (EDT) Date: Tue, 8 May 2018 16:21:26 +0300 From: Konstantin Osipov Subject: [tarantool-patches] Re: [PATCH v2 5/5] lua: introduce utf8 built-in globaly visible module Message-ID: <20180508132126.GC13694@atlas> References: <562a24d9c42df6701e85d50b06a47d57e6d884bf.1524955403.git.v.shpilevoy@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <562a24d9c42df6701e85d50b06a47d57e6d884bf.1524955403.git.v.shpilevoy@tarantool.org> Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: tarantool-patches@freelists.org Cc: alexander.turenko@tarantool.org * Vladislav Shpilevoy [18/04/29 01:47]: > utf8 is a module partially compatible with Lua 5.3 utf8 and > lua-utf8 third party module. > Partially means, that not all functions are implemented. > > The patch introduces these ones: > upper, lower, len, char, sub. > > All of them works exactly like in Lua 5.3, or if Lua 5.3 has no > a function, then works like in lua-utf8. > > Tarantool utf8 has extensions: > > * isupper/lower/alpha/digit, that check some property by a symbol > or by its code; > > * cmp/casecmp, that compare two UTF8 strings. This is OK as well. -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 http://tarantool.io - www.twitter.com/kostja_osipov