Re: A question about bash change for efficiency speedups in multibyte locales

2018-04-03 Thread yangyajing
rrect. Because internal_strmatch() calls is_class(), and is_class() only considers the fact that character classes defined in the POSIX standard. 在 2018年04月03日 23:28, Chet Ramey 写道: > On 4/2/18 10:59 PM, yangyajing wrote: >> Thanks for your reply. >> >> The two lines of code a

A question about bash change for efficiency speedups in multibyte locales

2018-03-29 Thread yangyajing
Hello,  I recently did lsb-test-core on ubuntu 16.04. There is a test that can be successful in bash 4.1 but fails in bash 4.3. The test comment is :  bash tp10.sh. The content of tp10.sh is :   echo [[:xdigit:]] [[:hyphen:]]. And this test sets a multibyte locale that defines a charclass contai