Lines Matching defs:regex
113 pcrecpp::RE* regex;
305 if (!context->regex) return true;
309 return context->regex->PartialMatch(messageString);
458 " -e <expr>, --regex=<expr>\n"
464 " paired with --regex, but will work on its own.\n"
465 " --print Paired with --regex and --max-count to let content bypass\n"
466 " regex filter but still stop at number of matches.\n"
882 // hidden and undocumented reserved alias for --regex
893 { "regex", required_argument, nullptr, 'e' },
1018 context->regex = new pcrecpp::RE(optctx.optarg);
1324 if (context->printItAnyways && (!context->regex || !context->maxCount)) {
1325 // One day it would be nice if --print -v color and --regex <expr>
1326 // could play with each other and show regex highlighted content.
1332 "--regex <expr> and --max-count <N>\n");
1824 delete context->regex;