Home
last modified time | relevance | path

Searched refs:subject (Results 76 – 100 of 135) sorted by last modified time

123456

/PHP-5.5/ext/pcre/tests/
H A Dpreg_match_basic.phpt6 …* proto int preg_match(string pattern, string subject [, array subpatterns [, int flags [, int of…
H A Dpreg_match_basic_002.phpt5 /* Prototype : int preg_match ( string $pattern , string $subject [, array &$matches [, int $f…
H A Dpreg_match_basic_edit.phpt5 /* Prototype : proto int preg_match(string pattern, string subject [, array subpatterns [, int fla…
H A Dpreg_match_error.phpt6 …* proto int preg_match(string pattern, string subject [, array subpatterns [, int flags [, int of…
16 $subject = 'string_val';
20 var_dump(preg_match($pattern, $subject, $matches, $flags, $offset, $extra_arg));
H A Dpreg_replace_callback_basic.phpt6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]])
H A Dpreg_replace_callback_error.phpt6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]])
21 $subject = 'there are 7 words in this sentence.';
24 var_dump(preg_replace_callback($regex, 'integer_word', $subject, $limit, $count, $extra_arg));
H A Dpreg_replace_callback_error1.phpt6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]])
24 $subject = 'number 1.';
27 var_dump(preg_replace_callback($regex_value, 'integer_word', $subject));
H A Dpreg_replace_edit_basic.phpt5 /* Prototype : proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [,…
H A Dpreg_replace_error.phpt6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]])
17 $subject = 'string_val';
20 var_dump(preg_replace($regex, $replace, $subject, $limit, $count, $extra_arg));
H A Dpreg_replace_error1.phpt6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]])
21 $subject = 'a';
24 var_dump(preg_replace($regex_value, $replace, $subject));
27 var_dump(preg_replace($regex_value, $replace, $subject));
H A Dpreg_replace_error2.phpt6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]])
16 $subject = 'test';
19 var_dump(preg_replace($regex, $value, $subject));
22 var_dump(preg_replace($regex, $value, $subject));
H A Dpreg_replace_variation1.phpt6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]])
H A Dpreg_split_error.phpt6 * proto array preg_split(string pattern, string subject [, int limit [, int flags]])
16 $subject = 'string_val';
20 var_dump(preg_split($pattern, $subject, $limit, $flags, $extra_arg));
H A Dpreg_split_error1.phpt6 * proto array preg_split(string pattern, string subject [, int limit [, int flags]])
20 $subject = '1 2 a 3 4 b 5 6';
23 var_dump(preg_split($regex_value, $subject));
26 var_dump(preg_split($regex_value, $subject));
/PHP-5.5/ext/pcre/pcrelib/testdata/
H A Dtestoutput18802 /-- This matches "aaaac"; each PRUNE advances one character until the subject
H A Dtestoutput211658 Error -26 (nested recursion at the same subject position)
11662 Error -26 (nested recursion at the same subject position)
11666 Error -26 (nested recursion at the same subject position)
H A Dtestoutput87532 Error -26 (nested recursion at the same subject position)
7552 Error -26 (nested recursion at the same subject position)
H A Dtestinput15305 /-- This matches "aaaac"; each PRUNE advances one character until the subject
/PHP-5.5/ext/pcre/pcrelib/
H A Dpcredemo.c51 char *subject; in main() local
90 subject = argv[i+1]; in main()
91 subject_length = (int)strlen(subject); in main()
124 subject, /* the subject string */ in main()
171 char *substring_start = subject + ovector[2*i]; in main()
221 ovector[2*n+1] - ovector[2*n], subject + ovector[2*n]); in main()
316 subject, /* the subject string */ in main()
342 subject[start_offset] == '\r' && in main()
343 subject[start_offset + 1] == '\n') in main()
349 if ((subject[ovector[1]] & 0xc0) != 0x80) break; in main()
[all …]
H A Dpcre_jit_compile.c6377 callout_block->subject = (PCRE_SPTR)begin; in do_callout()
6379 callout_block->subject = (PCRE_SPTR16)begin; in do_callout()
6381 callout_block->subject = (PCRE_SPTR32)begin; in do_callout()
10411 PRIV(jit_exec)(const PUBL(extra) *extra_data, const pcre_uchar *subject, in PRIV()
10433 arguments.str = subject + start_offset; in PRIV()
10434 arguments.begin = subject; in PRIV()
10435 arguments.end = subject + length; in PRIV()
10486 PCRE_SPTR subject, int length, int start_offset, int options, in pcre_jit_exec() argument
10491 PCRE_SPTR16 subject, int length, int start_offset, int options, in pcre_jit_exec()
10496 PCRE_SPTR32 subject, int length, int start_offset, int options, in pcre_jit_exec()
[all …]
H A Dpcre_exec.c1303 cb.subject = (PCRE_SPTR)md->start_subject; in match()
1305 cb.subject = (PCRE_SPTR16)md->start_subject; in match()
1307 cb.subject = (PCRE_SPTR32)md->start_subject; in match()
1713 cb.subject = (PCRE_SPTR)md->start_subject; in match()
1715 cb.subject = (PCRE_SPTR16)md->start_subject; in match()
1717 cb.subject = (PCRE_SPTR32)md->start_subject; in match()
6465 NOT_FIRSTCHAR(((PCRE_PUCHAR)subject)[start_offset])) in pcre_exec()
6554 md->start_subject = (PCRE_PUCHAR)subject; in pcre_exec()
7022 if (start_match > (PCRE_PUCHAR)subject + start_offset && in pcre_exec()
7147 offsets[0] = (int)(start_partial - (PCRE_PUCHAR)subject); in pcre_exec()
[all …]
H A Dpcre_get.c335 pcre_copy_substring(const char *subject, int *ovector, int stringcount, in pcre_copy_substring() argument
353 memcpy(buffer, subject + ovector[stringnumber], IN_UCHARS(yield)); in pcre_copy_substring()
390 pcre_copy_named_substring(const pcre *code, const char *subject, in pcre_copy_named_substring() argument
395 pcre16_copy_named_substring(const pcre16 *code, PCRE_SPTR16 subject, in pcre_copy_named_substring()
400 pcre32_copy_named_substring(const pcre32 *code, PCRE_SPTR32 subject, in pcre_copy_named_substring()
477 memcpy(p, subject + ovector[i], IN_UCHARS(len)); in pcre_get_substring_list()
544 pcre_get_substring(const char *subject, int *ovector, int stringcount, in pcre_get_substring() argument
564 memcpy(substring, subject + ovector[stringnumber], IN_UCHARS(yield)); in pcre_get_substring()
607 pcre_get_named_substring(const pcre *code, const char *subject, in pcre_get_named_substring() argument
612 pcre16_get_named_substring(const pcre16 *code, PCRE_SPTR16 subject, in pcre_get_named_substring()
[all …]
H A Dpcre.h423 PCRE_SPTR subject; /* The subject being matched */ member
445 PCRE_SPTR16 subject; /* The subject being matched */ member
467 PCRE_SPTR32 subject; /* The subject being matched */ member
H A DHACKING20 subject string. In the terminology of Jeffrey Friedl's book, it was a "DFA
23 the one matching the longest subset of the subject string was chosen. This did
36 maximizing (or, optionally, minimizing in Perl) the amount of the subject that
121 simultaneously for all possible matches that start at one point in the subject
175 OP_SOM, start of match (subject + offset): \G
330 mode, subject characters with values greater than 255 can be handled correctly.
479 pointer in the subject string. In ASCII mode, the count is a number of units,
/PHP-5.5/ext/pcre/pcrelib/doc/
H A Dpcre.txt1441 from the first matching point in the subject, it scans the subject
1464 subject. If the pattern
1766 point in the subject), and scans the subject just once (unless there
3457 The subject string is passed to pcre_exec() as a pointer in subject, a
3505 subject.
3890 tions: subject is the subject string that has just been successfully
7885 $ end of subject
7888 \Z end of subject
7890 \z end of subject
8787 subject.
[all …]

Completed in 151 milliseconds

123456