bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] Index function problem


From: Christopher Durant
Subject: Re: [bug-gawk] Index function problem
Date: Sun, 28 Apr 2013 10:19:56 +0100

Dear Arnold

Many thanks

Christopher


On 28 April 2013 08:38, Aharon Robbins <address@hidden> wrote:
Hi. I'm catching up on old mail.

> Date: Sun, 21 Apr 2013 08:06:33 +0100
> From: Christopher Durant <address@hidden>
> To: address@hidden
> Subject: [bug-gawk] Index function problem
>
> I notice that if you use a regular _expression_ as the second parameter in an
> index call e.g. index ($0, /[A-Z]/); it is allowed but gives unpredictable
> results.  Perhaps this usage should be flagged as an error.
>
> Kind regards
>
> Christopher Durant

Thanks. The next major release is imminent, and the code is essentially
frozen. But I've made myself a note to look into this for afterwards,
either as a hard coded warning or as a lint error.

Thanks,

Arnold


reply via email to

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