regexp: add simple package-level example

Update #4125

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6846045
1 file changed