export changes made at Google

R=rsc
CC=re2-dev
http://codereview.appspot.com/4625055
10 files changed