commit | 00ca3ec871444ed8560c542cd3eb2b04a21a188e | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@swtch.com> | Tue Jun 21 21:45:57 2011 -0400 |
committer | Russ Cox <rsc@swtch.com> | Tue Jun 21 21:45:57 2011 -0400 |
tree | cf00180a35ffb0453202f718c77b241f826816a3 | |
parent | 295ae016889386fec74048b186b95ac61b7f5802 [diff] |
re2: do not edit Regexp during IsAnchorStart, IsAnchorEnd Must never edit existing regexps: they are logically immutable. Was causing RE2::Regexp to give back the wrong answer. R=r CC=re2-dev http://codereview.appspot.com/4626065