xref: /aosp_15_r20/external/one-true-awk/bugs-fixed/unicode-null-match.awk (revision 9a7741de182b2776d7b30d6355f2585c0780a51b)
1*9a7741deSElliott HughesBEGIN {
2*9a7741deSElliott Hughes	# str = "\342\200\257"
3*9a7741deSElliott Hughes	str = "あ"
4*9a7741deSElliott Hughes	n = gsub(//, "X", str)
5*9a7741deSElliott Hughes	print n, str
6*9a7741deSElliott Hughes}
7