Lines Matching refs:Regexp
5 // Dump the regexp into a string showing structure.
8 // This function traverses the regexp recursively,
9 // meaning that on inputs like Regexp::Simplify of
23 #include "re2/regexp.h"
55 // Create string representation of regexp with explicit structure.
57 static void DumpRegexpAppending(Regexp* re, string* s) {
68 if (re->parse_flags() & Regexp::NonGreedy)
73 if (re->op() == kRegexpLiteral && (re->parse_flags() & Regexp::FoldCase)) {
78 if (re->op() == kRegexpLiteralString && (re->parse_flags() & Regexp::FoldCase)) {
93 if (!(re->parse_flags() & Regexp::WasDollar)) {
151 string Regexp::Dump() {