xref: /freebsd/contrib/one-true-awk/testdir/t.re3 (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
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