[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gawk] Index function problem
From: |
Aharon Robbins |
Subject: |
Re: [bug-gawk] Index function problem |
Date: |
Sun, 28 Apr 2013 10:38:50 +0300 |
User-agent: |
Heirloom mailx 12.5 6/20/10 |
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