xref: /freebsd/contrib/one-true-awk/testdir/t.re3 (revision a90b9d0159070121c221b966469c3e36d912bf82)
1{	r1 = $1
2	r2 = $1 ":"
3}
4
5length(r1) && $0 ~ r1	{ print $0 " matches " r1 }
6length(r1) && $0 ~ r2	{ print $0 " matches " r2 }
7