Cherry pick http://codereview.chromium.org/1745017/

"Port regexp fix (backslash-b at end of input) to partial snapshots branch."

Fix bug: 2632771

Change-Id: I7f4db0c9db76de0cb6408b7e3c17055e030f4d75
2 files changed