Home | History | Annotate | Download | only in src

Lines Matching defs:re

300 #define RMATCH(ra,rb,rc,rd,re,rw) \
301 rrc = match(ra,rb,mstart,rc,rd,re,rdepth+1)
311 #define RMATCH(ra,rb,rc,rd,re,rw)\
327 newframe->Xeptrb = re;\
859 not a matching mark, we have to re-run the match, ignoring the SKIP_ARG
862 SKIP_ARG gets to top level, the match is re-run with mb->ignore_skip_arg
1789 re-instated afterwards. We don't know how many are started and not yet
1854 frames are kept on a chain and re-used. This makes a small improvement in
2933 is very rare, so we handle it by re-matching fewer and fewer times. */
2945 /* The rare case of non-matching lengths. Re-scan the repetition for each
6451 const pcre2_real_code *re = (const pcre2_real_code *)code;
6501 if (re->magic_number != MAGIC_NUMBER) return PCRE2_ERROR_BADMAGIC;
6505 if ((re->flags & PCRE2_MODE_MASK) != PCRE2_CODE_UNIT_WIDTH/8)
6522 options |= (re->flags & FF) / ((FF & (~FF+1)) / (OO & (~OO+1)));
6536 utf = (re->overall_options & PCRE2_UTF) != 0;
6559 for (i = re->max_lookbehind; i > 0 && check_subject > subject; i--)
6575 if (start_offset >= re->max_lookbehind)
6576 check_subject -= re->max_lookbehind;
6599 (re->overall_options & PCRE2_USE_OFFSET_LIMIT) == 0)
6609 if (re->executable_jit != NULL && (options & ~PUBLIC_JIT_MATCH_OPTIONS) == 0)
6619 anchored = ((re->overall_options | options) & PCRE2_ANCHORED) != 0;
6620 firstline = (re->overall_options & PCRE2_FIRSTLINE) != 0;
6621 startline = (re->flags & PCRE2_STARTLINE) != 0;
6637 mb->hasthen = (re->flags & PCRE2_HASTHEN) != 0;
6640 mb->poptions = re->overall_options; /* Pattern options */
6651 mb->name_table = (PCRE2_UCHAR *)((uint8_t *)re + sizeof(pcre2_real_code));
6652 mb->name_count = re->name_count;
6653 mb->name_entry_size = re->name_entry_size;
6654 mb->start_code = mb->name_table + re->name_count * re->name_entry_size;
6659 mb->match_limit = (mcontext->match_limit < re->limit_match)?
6660 mcontext->match_limit : re->limit_match;
6661 mb->match_limit_recursion = (mcontext->recursion_limit < re->limit_recursion)?
6662 mcontext->recursion_limit : re->limit_recursion;
6666 mb->lcc = re->tables + lcc_offset;
6667 mb->fcc = re->tables + fcc_offset;
6668 mb->ctypes = re->tables + ctypes_offset;
6672 mb->bsr_convention = re->bsr_convention;
6674 switch(re->newline_convention)
6709 if (re->top_backref >= match_data->oveccount)
6711 ocount = re->top_backref * 3 + 3;
6735 register PCRE2_SIZE *iend = iptr - re->top_bracket;
6749 if ((re->flags & PCRE2_FIRSTSET) != 0)
6752 first_cu = first_cu2 = (PCRE2_UCHAR)(re->first_codeunit);
6753 if ((re->flags & PCRE2_FIRSTCASELESS) != 0)
6762 if (!startline && (re->flags & PCRE2_FIRSTMAPSET) != 0)
6763 start_bits = re->start_bitmap;
6769 if ((re->flags & PCRE2_LASTSET) != 0)
6772 req_cu = req_cu2 = (PCRE2_UCHAR)(re->last_codeunit);
6773 if ((re->flags & PCRE2_LASTCASELESS) != 0)
6800 if ((re->overall_options & PCRE2_NO_START_OPTIMIZE) == 0)
6913 if (end_subject - start_match < re->minlength)
7009 entirely. The only way we can do that is to re-do the match at the same
7088 (re->flags & PCRE2_HASCRORLF) == 0 &&
7132 match_data->code = re;
7177 if (mb->end_offset_top/2 <= re->top_bracket)
7180 int resetcount = re->top_bracket + 1;