regexp: use Scanner in exec_test

R=rsc
CC=golang-dev
https://codereview.appspot.com/7381046
strconv: use Scanner in fp_test

R=rsc
CC=golang-dev
https://codereview.appspot.com/7385045