[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gawk regular expression extensions
From: |
Stepan Kasal |
Subject: |
Re: gawk regular expression extensions |
Date: |
Thu, 27 Jan 2005 11:38:56 +0100 |
User-agent: |
Mutt/1.4.1i |
Hello,
On Tue, Jan 25, 2005 at 11:35:22AM +0100, Stepan Kasal wrote:
> Hi,
>
> > On Thu, Jan 20, 2005 at 11:16:51AM -0600, Tony Ernst wrote:
> > > gawk-3.1.1: gawk treats \B as "the empty string not on a word boundry".
> > > gawk-3.1.3: gawk treats \B as "the empty string within a word".
> ...
> > The new regex code, imported from GNU libc, thus seems to think that \B
> > means ``inside word''.
FYI: Jakub Jelinek from Red Hat has written a patch which changes the
behaviour back to the traditional behaviour:
http://sources.redhat.com/ml/libc-hacker/2005-01/msg00066.html
Thank you, Jakub.
The patch has been applied to glibc CVS, so I suppose it'll eventually
get to gawk too.
But if you cannot wait, you can try to apply the patch to gawk sources, or
to compile gawk using the regex code from glibc CVS.
Have a nice day,
Stepan