Eric Blake wrote:
> According to Paolo Bonzini on 1/9/2009 1:59 AM:
>> I applied the attached three patches to sync with glibc and fix two
>> relatively serious bug.
> 
> Is it easy to extract one of these bugs into something that regex.m4 can
> check for, in order to decide whether to replace glibc regex as too buggy?

Yes: you can check if matching "o$($|.)" against "o\n" crashes.

But I'm not sure it is desirable, because gnulib regex is much more
crippled than glibc regex (no collation elements).  For example gnulib
regex will match "llave" against /^[a-l]....$/ in a Spanish locale, and
will not match "Ã…rhus" against /^[.AA.]rhus$/ in a Danish locale.

Paolo


Reply via email to