RE2::Set: fix handling of regexps with trailing $,
by forcing all regexps to have trailing $ and checking
for the match only after the $ has been pushed through.

[Exported from internal Google RE2 repository.]

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