[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: major gawk bug
From: |
Stepan Kasal |
Subject: |
Re: major gawk bug |
Date: |
Tue, 8 Jun 2004 14:38:34 +0200 |
User-agent: |
Mutt/1.4.1i |
Hello,
On Tue, Jun 08, 2004 at 03:10:43PM +0300, Aharon Robbins wrote:
> > (const char casetable[] )
> > for case-independent regexp matching?
> Code changes welcome. I have no idea how to do that in a manner that
> is correct for all 8-bit ASCII-compatible locales.
I beleive the right fix for regexes is to use RE_ICASE flag instead
of the translate table.
The hard-coded table is also used in gawk for various case-insensitive
comparisons; these should be replaced by a call to tolower().
The hard-coded table should be then removed.
> If you (or someone else) wishes to contribute a patch,
I personally don't have time for it now. Stanislav, are you willing to
implement this?
Have a nice day,
Stepan