Home | History | Annotate | Download | only in testing

Lines Matching refs:RE2

1 // Copyright 2008 The RE2 Authors.  All Rights Reserved.
9 #include "re2/testing/tester.h"
10 #include "re2/prog.h"
11 #include "re2/re2.h"
12 #include "re2/regexp.h"
23 namespace re2 {
36 "RE2",
215 // Create re string that will be used for RE and RE2.
226 // Compile regexp to RE2.
228 RE2::Options options;
230 options.set_encoding(RE2::Options::EncodingLatin1);
233 re2_ = new RE2(re, options);
235 LOG(INFO) << "Cannot RE2: " << CEscape(re);
385 RE2::Anchor re_anchor;
387 re_anchor = RE2::ANCHOR_START;
389 re_anchor = RE2::UNANCHORED;
391 re_anchor = RE2::ANCHOR_BOTH;
640 } // namespace re2