test/ignrcas2.awk
raw| 1 | # Based on test program submitted by: |
| 2 | # Date: Sun, 7 Sep 2003 23:11:51 +0200 |
| 3 | # From: Michael Mauch <[email protected]> |
| 4 | # To: [email protected] |
| 5 | # Subject: Internal error in gawk-3.1.3 with character class |
| 6 | |
| 7 | BEGIN { |
| 8 | IGNORECASE = 1 |
| 9 | if ("a" ~ /[[:alnum:]]/) |
| 10 | print "OK" |
| 11 | else |
| 12 | print "NOT OK" |
| 13 | } |