|
From: | Sena, Frederick |
Subject: | [bug-gawk] gawk regex ignores case incorrectly for character range |
Date: | Tue, 6 May 2014 23:25:56 +0000 |
Hi, Just wanted to report a gawk bug in the regex matching for a character range. I found a specific instance where gawk ignores case when it should not. $ awk --version GNU Awk 3.1.5 $ env | grep LANG LANG=en_US.utf8 Examples 1) Example bug for a regex if it includes a character range it incorrectly ignores case. The output below should not appear because the range does not match
case. $ echo hi | awk '/^[A-H]/' hi 2) Examples for regex without range. Notice these correctly match case and nothing is printed.
$ echo hi | awk '/^[H]/' Thanks very much, --Fred This email and its attachments are Confidential Information of Nuance Communications, Inc.
|
[Prev in Thread] | Current Thread | [Next in Thread] |