[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: |
Tue, 25 Jan 2005 11:35:22 +0100 |
User-agent: |
Mutt/1.4.1i |
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''.
>
> Either the dfa code or the regex code has to be fixed. But first we have
> to determine what the meaning of \B should be.
I looked at a perl manpage; it defines \B an non-\b.
So I believe that the current regex code is the faulty one.
I submitted a bug report for this:
http://sources.redhat.com/bugzilla/show_bug.cgi?id=693
Have a nice day,
Stepan