Lines Matching refs:re
323 #define RMATCH(ra,rb,rc,rd,re,rw) \
326 rrc = match(ra,rb,mstart,rc,rd,re,rdepth+1); \
335 #define RMATCH(ra,rb,rc,rd,re,rw) \
336 rrc = match(ra,rb,mstart,rc,rd,re,rdepth+1)
349 #define RMATCH(ra,rb,rc,rd,re,rw)\
364 newframe->Xeptrb = re;\
813 not a matching mark, we have to re-run the match, ignoring the SKIP_ARG
816 SKIP_ARG gets to top level, the match is re-run with md->ignore_skip_arg
1741 re-instated afterwards. We don't know how many are started and not yet
6325 /* This function applies a compiled re to a subject string and picks out
6386 const REAL_PCRE *re = (const REAL_PCRE *)argument_re;
6400 if (re == NULL && extra_data == NULL && subject == NULL && length == -999 &&
6411 if (re == NULL || subject == NULL || (offsets == NULL && offsetcount > 0))
6422 if (re->magic_number != MAGIC_NUMBER)
6423 return re->magic_number == REVERSED_MAGIC_NUMBER?
6425 if ((re->flags & PCRE_MODE) == 0) return PCRE_ERROR_BADMODE;
6433 utf = md->utf = (re->options & PCRE_UTF8) != 0;
6496 md->name_table = (pcre_uchar *)re + re->name_table_offset;
6497 md->name_count = re->name_count;
6498 md->name_entry_size = re->name_entry_size;
6510 tables = re->tables;
6530 if ((re->flags & PCRE_MLSET) != 0 && re->limit_match < md->match_limit)
6531 md->match_limit = re->limit_match;
6533 if ((re->flags & PCRE_RLSET) != 0 &&
6534 re->limit_recursion < md->match_limit_recursion)
6535 md->match_limit_recursion = re->limit_recursion;
6538 is a feature that makes it possible to save compiled regex and re-use them
6545 anchored = ((re->options | options) & PCRE_ANCHORED) != 0;
6546 startline = (re->flags & PCRE_STARTLINE) != 0;
6547 firstline = (re->options & PCRE_FIRSTLINE) != 0;
6551 md->start_code = (const pcre_uchar *)re + re->name_table_offset +
6552 re->name_count * re->name_entry_size;
6559 md->endonly = (re->options & PCRE_DOLLAR_ENDONLY) != 0;
6560 md->use_ucp = (re->options & PCRE_UCP) != 0;
6561 md->jscript_compat = (re->options & PCRE_JAVASCRIPT_COMPAT) != 0;
6576 md->hasthen = (re->flags & PCRE_HASTHEN) != 0;
6587 if ((re->options & (PCRE_BSR_ANYCRLF|PCRE_BSR_UNICODE)) != 0)
6588 md->bsr_anycrlf = (re->options & PCRE_BSR_ANYCRLF) != 0;
6611 switch ((((options & PCRE_NEWLINE_BITS) == 0)? re->options :
6652 if (md->partial && (re->flags & PCRE_NOPARTIAL) != 0)
6663 if (re->top_backref > 0 && re->top_backref >= ocount/3)
6665 ocount = re->top_backref * 3 + 3;
6685 register int *iend = iptr - re->top_bracket;
6700 if ((re->flags & PCRE_FIRSTSET) != 0)
6703 first_char = first_char2 = (pcre_uchar)(re->first_char);
6704 if ((re->flags & PCRE_FCH_CASELESS) != 0)
6722 if ((re->flags & PCRE_REQCHSET) != 0)
6725 req_char = req_char2 = (pcre_uchar)(re->req_char);
6726 if ((re->flags & PCRE_RCH_CASELESS) != 0)
6777 if (((options | re->options) & PCRE_NO_START_OPTIMIZE) == 0)
6850 if (((options | re->options) & PCRE_NO_START_OPTIMIZE) == 0 && !md->partial)
6947 entirely. The only way we can do that is to re-do the match at the same
7026 (re->flags & PCRE_HASCRORLF) == 0 &&
7088 if (md->end_offset_top/2 <= re->top_bracket && offsets != NULL)
7091 int resetcount = 2 + re->top_bracket * 2;