1*9a7741deSElliott HughesBEGIN { 2*9a7741deSElliott Hughes str="\342\200\257" 3*9a7741deSElliott Hughes print length(str) 4*9a7741deSElliott Hughes match(str,/^/) 5*9a7741deSElliott Hughes print RSTART, RLENGTH 6*9a7741deSElliott Hughes match(str,/.+/) 7*9a7741deSElliott Hughes print RSTART, RLENGTH 8*9a7741deSElliott Hughes match(str,/$/) 9*9a7741deSElliott Hughes print RSTART, RLENGTH 10*9a7741deSElliott Hughes} 11