Home | History | Annotate | Download | only in dist

Lines Matching defs:subject

51 char *subject;
81 and the subject string. */
85 printf("Two arguments required: a regex and a subject string\n");
90 subject = argv[i+1];
91 subject_length = (int)strlen(subject);
117 * pattern match against the subject string. This does just ONE match. If *
124 subject, /* the subject string */
125 subject_length, /* the length of the subject */
126 0, /* start at offset 0 in the subject */
153 * We have found the first match within the subject string. If the output *
171 char *substring_start = subject + ovector[2*i];
181 * repeated matches on the same subject. *
221 ovector[2*n+1] - ovector[2*n], subject + ovector[2*n]);
229 * to search for additional matches in the subject string, in a similar *
241 * subject is not a valid match; other possibilities must be tried. The *
302 at the end of the subject. Otherwise, arrange to run another match at the
316 subject, /* the subject string */
317 subject_length, /* the length of the subject */
318 start_offset, /* starting offset in the subject */
342 subject[start_offset] == '\r' &&
343 subject[start_offset + 1] == '\n')
349 if ((subject[ovector[1]] & 0xc0) != 0x80) break;
382 char *substring_start = subject + ovector[2*i];
395 ovector[2*n+1] - ovector[2*n], subject + ovector[2*n]);