awk/testdir/t.re1a
Arnold D. Robbins d6c466c367 Extract testdir.
2019-06-23 03:13:57 -06:00

7 lines
136 B
Plaintext

BEGIN { r1 = "[a-cg-j1-3]"
r2 = "[^aeiou]"
}
$0 ~ r1 { print $0 " matches /[a-cg-j1-3]/" }
$0 ~ r2 { print $0 " matches /[^aeiou]/" }