| 1 |
BEGIN { |
| 2 |
if (match(uninitialized1, /^$/)) |
| 3 |
print "uninitialized1 matches" |
| 4 |
if (match(uninitialized2, /^\s*$/)) |
| 5 |
print "uninitialized2 matches" |
| 6 |
delete uninitialized3 |
| 7 |
if (match(uninitialized3[one], /^$/)) |
| 8 |
print "uninitialized3[one] matches" |
| 9 |
if (match(uninitialized3[one], /^\s*$/)) |
| 10 |
print "uninitialized3[one] matches" |
| 11 |
|
| 12 |
if (!match(uninitialized4, /./)) |
| 13 |
print "uninitialized4 does not match" |
| 14 |
if (!match(uninitialized4, /\s+/)) |
| 15 |
print "uninitialized4 does not match" |
| 16 |
delete uninitialized5 |
| 17 |
if (!match(uninitialized5[one], /./)) |
| 18 |
print "uninitialized5[one] does not match" |
| 19 |
if (!match(uninitialized3[one], /s+/)) |
| 20 |
print "uninitialized5[one] does not match" |
| 21 |
} |