6 #include "util/logging.h"
8 #include "re2/regexp.h"
24 {
"a(()|())c",
true },
27 {
"a(b*|c*)d",
true },
60 TEST(MimicsPCRE, SimpleTests) {
62 const PCRETest& t =
tests[
i];
63 for (
size_t j = 0; j < 2; j++) {
69 ASSERT_EQ(t.should_match, re->MimicsPCRE())
70 <<
" " << t.regexp <<
" "
71 << (j == 0 ?
"latin1" :
"utf");