lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


2018-07-10 16:51 GMT+02:00 Sam Putman <atmanistan@gmail.com>:
>
>
> On Tue, Jul 10, 2018 at 4:00 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
>>
>> 2018-07-10 15:30 GMT+02:00 Lorenzo Donati <lorenzodonatibz@tiscali.it>:
>>
>> utf8.gsub ("Hélène","[éè]","e")  --> 'Helene' 2
>>
>
> Would you expect this to work on both "Hélène" and "Hélène"?
>
> I've separated out the acute combining mark for clarity.
>
> Such a function might easily be larger than the rest of the string library
> combined.

On Tue, Jul 10, 2018 at 4:00 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
| not asking for upper/lower,
| operating only on simple codepoints,| no combining characters,
| no need for a C library.