Lines Matching refs:pcre
46 #include "pcre.h"
55 static const int kVecSize = (1 + kMaxArgs) * 3; // results + PCRE workspace
60 // This is for ABI compatibility with old versions of pcre (pre-7.6),
111 pcre* RE::Compile(Anchor anchor) {
112 // First, convert RE_Options into pcre options
117 // runtime pcre only provides an option for anchoring at the
122 // a pcre unanchored match.
124 // a pcre anchored match.
126 // and use a pcre anchored match.
130 pcre* re;
477 // we do '\0', because pcre itself doesn't take embedded NUL chars.
509 pcre* re = (anchor == ANCHOR_BOTH) ? re_full_ : re_partial_;
565 assert((1 + n) * 3 <= vecsize); // results + PCRE workspace
604 size_t const vecsize = (1 + n) * 3; // results + PCRE workspace