[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in gawk 3.1.5
From: |
Aharon Robbins |
Subject: |
Re: bug in gawk 3.1.5 |
Date: |
Fri, 07 Oct 2005 11:31:19 +0200 |
> Date: Wed, 05 Oct 2005 10:58:08 +0200
> From: Stepan Kasal <address@hidden>
> Subject: Re: bug in gawk 3.1.5
> To: "Alfred P. Steffens Jr." <address@hidden>
> Cc: address@hidden
>
> 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...]
That is undoubtedly the problem. The "-" has to be the first character
in the range to be treated literally, or else escaped with a backslash.
Arnold
- bug in gawk 3.1.5, Alfred P. Steffens Jr., 2005/10/04
- Re: bug in gawk 3.1.5,
Aharon Robbins <=