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

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

Re: bug in gawk 3.1.5


From: Stepan Kasal
Subject: Re: bug in gawk 3.1.5
Date: Wed, 5 Oct 2005 10:58:08 +0200
User-agent: Mutt/1.4.1i

Hello,

On Mon, Oct 03, 2005 at 07:23:35PM -0700, Alfred P. Steffens Jr. wrote:
> if (match(field, /([0-9\.]+)([&@])([+-0-9\.\[\]!*qho])*/)) {

> something about "bad range end".  This code works fine with GAWK 3.1.3.

I think the problem is here:
        [+-0-9...]
Did you mean:
        [-+0-9...]

BTW: your regex starts with [0-9\.]+, thus it matches

        3.1&+[6!]
but not 
        &+[6!]

Hope this helps,
        Stepan Kasal




reply via email to

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