xref: /freebsd/contrib/one-true-awk/testdir/t.re1a (revision 924226fba12cc9a228c73b956e1b7fa24c60b055)
1BEGIN { r1 = "[a-cg-j1-3]"
2	r2 = "[^aeiou]"
3}
4
5$0 ~ r1	{ print $0 " matches /[a-cg-j1-3]/" }
6$0 ~ r2	{ print $0 " matches /[^aeiou]/" }
7