Lines Matching refs:subject
119 subject if the requested.
150 subject bytes matched may be different to the number of reference bytes.
154 eptr pointer into the subject
159 Returns: >= 0 the number of subject bytes matched
161 -2 partial match; always given if at end subject
176 printf("matching subject <null>");
179 printf("matching subject ");
207 length along the reference, not along the subject (earlier code did this
468 at the end of the subject and also past the start of the subject (i.e.
471 the subject. */
495 eptr pointer to current character in subject
732 When MATCH_CBEGROUP is set, add the current subject pointer to the chain of
767 variable). If it does match, we reset that variable to the current subject
870 the end of a normal bracket, leaving the subject pointer, but resetting
944 subject position in the working slot at the top of the vector. We mustn't
963 printf("subject=");
1134 printf("subject=");
1151 /* Each time round the loop, save the current subject position for use
1153 restart it with a new subject starting position, remembering that we had
1303 cb.subject = (PCRE_SPTR)md->start_subject;
1305 cb.subject = (PCRE_SPTR16)md->start_subject;
1307 cb.subject = (PCRE_SPTR32)md->start_subject;
1494 is set and we have matched at the start of the subject. In both cases,
1668 /* Move the subject pointer back. This occurs only at the start of
1713 cb.subject = (PCRE_SPTR)md->start_subject;
1715 cb.subject = (PCRE_SPTR16)md->start_subject;
1717 cb.subject = (PCRE_SPTR32)md->start_subject;
1762 /* Check for repeating a recursion without advancing the subject pointer.
1818 /* Set where we got to in the subject, and reset the start in case
1915 /* If this was a group that remembered the subject start, in order to break
1916 infinite repeats of empty string matches, retrieve the subject start from
1945 the current subject position and start match pointer and give a MATCH
2076 /* Not multiline mode: start of subject assertion, unless notbol. */
2081 /* Start of subject assertion */
2088 /* Multiline mode: start of subject unless notbol, or after any newline. */
2112 /* Multiline mode: assert before any newline, or before end of subject
2141 subject unless noteol is set. */
2149 /* End of subject assertion (\z) */
2157 /* End of subject or ending \n assertion (\Z) */
3256 subject, give up immediately. */
3275 subject. */
3285 /* Otherwise we must pick up the subject character. Note that we cannot
3518 DPRINTF(("matching %c{%d,%d} against subject %.*s\n", fc, min, max,
3791 DPRINTF(("negative matching %c{%d,%d} against subject %.*s\n", fc, min, max,
6325 /* This function applies a compiled re to a subject string and picks out
6332 subject points to the subject string
6333 length length of subject string (may contain binary zeros)
6334 start_offset where to start in the subject string
6348 PCRE_SPTR subject, int length, int start_offset, int options, int *offsets,
6353 PCRE_SPTR16 subject, int length, int start_offset, int options, int *offsets,
6358 PCRE_SPTR32 subject, int length, int start_offset, int options, int *offsets,
6379 PCRE_PUCHAR start_match = (PCRE_PUCHAR)subject + start_offset;
6400 if (re == NULL && extra_data == NULL && subject == NULL && length == -999 &&
6411 if (re == NULL || subject == NULL || (offsets == NULL && offsetcount > 0))
6444 int errorcode = PRIV(valid_utf)((PCRE_PUCHAR)subject, length, &erroroffset);
6465 NOT_FIRSTCHAR(((PCRE_PUCHAR)subject)[start_offset]))
6483 rc = PRIV(jit_exec)(extra_data, (const pcre_uchar *)subject, length,
6554 md->start_subject = (PCRE_PUCHAR)subject;
6852 /* If the pattern was studied, a minimum subject length may be set. This is
6865 subject for the match to succeed. If the first character is set, req_char
6866 must be later in the subject; otherwise the test starts at the match point.
6872 HOWEVER: when the subject string is very, very long, searching to its end
6950 alternatives in patterns such as A(*SKIP:A)B|AC when the subject is AC. */
7001 newline in the subject (though it may continue over the newline). Therefore,
7011 the subject. */
7022 if (start_match > (PCRE_PUCHAR)subject + start_offset &&
7042 (2) We are past the end of the subject;
7046 the subject.
7147 offsets[0] = (int)(start_partial - (PCRE_PUCHAR)subject);
7148 offsets[1] = (int)(end_subject - (PCRE_PUCHAR)subject);
7150 offsets[2] = (int)(match_partial - (PCRE_PUCHAR)subject);