commit | d2720cd820de65edceb468a4854aa36cd3a9ae08 | [log] [tgz] |
---|---|---|
author | Paul Wankadia <junyer@google.com> | Mon Apr 20 07:19:43 2020 -0700 |
committer | Paul Wankadia <junyer@google.com> | Mon Apr 20 14:38:54 2020 +0000 |
tree | f6134654d6cfecfccfcd14aa0e847c1913bcb2b6 | |
parent | a5c78ae3ea906cdbd759d83511509a985b4b3c8f [diff] |
Remove memrchr() and the logic that calls it. The DFA execution engine can run backwards unanchored, but RE2 only ever needs it to run backwards anchored, so there's no need for memrchr(). Change-Id: I77a53293f4d6422ecd55760100a70e951ac5fb7f Reviewed-on: https://code-review.googlesource.com/c/re2/+/55070 Reviewed-by: Paul Wankadia <junyer@google.com>