bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: Bug Report: \y, \B, \<, \> do not work with _


From: Paul Eggert
Subject: Re: Bug Report: \y, \B, \<, \> do not work with _
Date: Wed, 6 Dec 2000 11:24:51 -0800 (PST)

> From: Akim Demaille <address@hidden>
> Date: 06 Dec 2000 10:33:23 +0100
> 
> >>>>> "Paul" == Paul Eggert <address@hidden> writes:
> 
> Paul> Is your development version using the same dfa.[ch] and
> Paul> regex.[ch] that the latest test GNU grep is using?
> 
> What's the difference between the two?

As it turns out, there was not much difference.

The problem is that glibc regex.c is incompatible with GNU grep (and
with BSD) because glibc rejects extended regular expressions like '{'.

This incompatibility was introduced into glibc on 2000-01-18.
I sent in a patch for this on 2000-03-03, but it got rejected on the
grounds that POSIX does not require support for those EREs.  This
unnecessary incompatibility between glibc and BSD is a problem, but I
haven't had time to pursue the matter.

Fortunately, as it turns out, the latest test version of gawk (which
Aharon Robbins sent me) is using a version of glibc regex.c that
predates 2000-01-18 and therefore it does not have this
incompatibility.

So, as long as gawk does not sync to the latest glibc regex.c, it
should be OK here.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]