Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use StringPieces for RE2::Scanner matches
Rather than allocating new strings when consuming matches for `RE2::Scanner#scan`, use `StringPiece`s (actually `absl::string_view`s in newer versions of RE2) to refer to the original input string instead.
- Loading branch information