* Dave Chinner:

(The regular expression or glob pattern [a-z] matches B.)

>> This is ultimately caused by a locale data update which was backported
>> into Fedora 28 (glibc 2.27) and its derivatives.  Upstream glibc only
>> has this change for version 2.28 (not yet released).  It's currently
>> not considered a release blocker, if it's even considered a bug at
>> all.
>
> So what you are saying (i.e. "not a bug") is that we should expect
> widespread regex breakage in custom scripts when distros roll out
> glibc 2.28 because it will break assumptions people have coded into
> their scripts and custom code for the past 20+ years?

According to POSIX, [a-z] is undefined in locales other than C or
POSIX.  This isn't a recent change.  POSIX pretty much says that you
need to use [[:lower:]] instead.

I don't doubt that a lot of code doesn't follow these rules, and
saying that it is broken according to POSIX doesn't help users who run
into issues.  But on the glibc side, I don't see anyone else arguing
that this needs to be fixed in glibc.

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to