commit | 4bb66d4f2fff9c5d4b0ef72634723180aba9f320 | [log] [tgz] |
---|---|---|
author | Paul Wankadia <[email protected]> | Tue Nov 22 00:10:13 2016 +1100 |
committer | Paul Wankadia <[email protected]> | Mon Nov 21 13:11:58 2016 +0000 |
tree | c9d81857804769b5bc4c63671db01f5fba897dc8 | |
parent | 97926eee04e21245052d4c7501a55d2a2e056ba8 [diff] [blame] |
Callers must not expect RE2::Set match vectors to be sorted. Change-Id: I92e950075e73f2790cea80b5eb73b9133c18b229 Reviewed-on: https://code-review.googlesource.com/9474 Reviewed-by: Paul Wankadia <[email protected]>
diff --git a/re2/set.h b/re2/set.h index 54d75a0..c31d500 100644 --- a/re2/set.h +++ b/re2/set.h
@@ -41,6 +41,7 @@ // Match returns true if text matches any of the regexps in the set. // If so, it fills v (if not NULL) with the indices of the matching regexps. + // Callers must not expect v to be sorted. bool Match(const StringPiece& text, std::vector<int>* v) const; private: