Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
2 changed files
with
90 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters