Home | History | Annotate | Download | only in testing

Lines Matching refs:RE2

1 // Copyright 2008 The RE2 Authors.  All Rights Reserved.
22 #include "re2/testing/exhaustive_tester.h"
23 #include "re2/testing/tester.h"
35 namespace re2 {
59 static void PrintResult(const RE2& re, const StringPiece& input, RE2::Anchor anchor, StringPiece *m, int n) {
102 RE2 re(regexp);
103 RE2::Options longest;
105 RE2 relongest(regexp, longest);
112 PrintResult(re, input, RE2::ANCHOR_BOTH, group, ngroup);
114 PrintResult(re, input, RE2::UNANCHORED, group, ngroup);
116 PrintResult(relongest, input, RE2::ANCHOR_BOTH, group, ngroup);
118 PrintResult(relongest, input, RE2::UNANCHORED, group, ngroup);
188 } // namespace re2