bug#22064: expr: expr string : '.*' returns the number of matched bytes not characters

2018-10-24 Thread Assaf Gordon
tags 22064 fixed close 22064 stop (triaging old bugs) On 30/11/15 02:09 PM, Stephane Chazelas wrote: that's another multibyte issue, it may be known already but I can't see it being referenced on debbugs.gnu.org. This commit added multibyte support to expr(1):

bug#22064: expr: expr string : '.*' returns the number of matched bytes not characters

2015-11-30 Thread Stephane Chazelas
Hello, that's another multibyte issue, it may be known already but I can't see it being referenced on debbugs.gnu.org. $ locale charmap UTF-8 $ expr é : . 2 $ expr é That is, characters are correctly matched, but a number of bytes instead of characters is returned. Same problem with $ expr