[Top][All Lists]

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

Re: match() in gawk 3.1.1

From: Stepan Kasal
Subject: Re: match() in gawk 3.1.1
Date: Tue, 4 Nov 2003 08:57:09 +0100
User-agent: Mutt/1.4.1i

  thank you very much for taking care to report the bug.

On Mon, Nov 03, 2003 at 10:13:21PM +0100, Ingo Tomahogh-Willms wrote:
> in version 3.1.1 of gawk, match() completely stops creating the elements
> of its array argument after it has reached a paranthesized subexression
> that is optional and not present, even if subsequent paranthesized
> subexpressions do exist:

>       match("axze", /(x)(y)?(z)/, A)  ... A[3] does not exist.

> I wasn't able to test this with version 3.1.3 yet, so I apologize if
> this has been fixed already.

I beleive this is fixed in 3.1.3.  In case you need any advice with
getting it, feel free to mail me off the list.

Have a nice time with gawk ;-)

Stepan Kasal

reply via email to

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