/PHP-5.5/ext/pcre/tests/ |
H A D | preg_match_basic.phpt | 6 …* proto int preg_match(string pattern, string subject [, array subpatterns [, int flags [, int of…
|
H A D | preg_match_basic_002.phpt | 5 /* Prototype : int preg_match ( string $pattern , string $subject [, array &$matches [, int $f…
|
H A D | preg_match_basic_edit.phpt | 5 /* Prototype : proto int preg_match(string pattern, string subject [, array subpatterns [, int fla…
|
H A D | preg_match_error.phpt | 6 …* 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 D | preg_replace_callback_basic.phpt | 6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]])
|
H A D | preg_replace_callback_error.phpt | 6 * 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 D | preg_replace_callback_error1.phpt | 6 * 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 D | preg_replace_edit_basic.phpt | 5 /* Prototype : proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [,…
|
H A D | preg_replace_error.phpt | 6 * 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 D | preg_replace_error1.phpt | 6 * 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 D | preg_replace_error2.phpt | 6 * 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 D | preg_replace_variation1.phpt | 6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]])
|
H A D | preg_split_error.phpt | 6 * 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 D | preg_split_error1.phpt | 6 * 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 D | testoutput1 | 8802 /-- This matches "aaaac"; each PRUNE advances one character until the subject
|
H A D | testoutput2 | 11658 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 D | testoutput8 | 7532 Error -26 (nested recursion at the same subject position) 7552 Error -26 (nested recursion at the same subject position)
|
H A D | testinput1 | 5305 /-- This matches "aaaac"; each PRUNE advances one character until the subject
|
/PHP-5.5/ext/pcre/pcrelib/ |
H A D | pcredemo.c | 51 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 D | pcre_jit_compile.c | 6377 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 D | pcre_exec.c | 1303 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 D | pcre_get.c | 335 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 D | pcre.h | 423 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 D | HACKING | 20 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 D | pcre.txt | 1441 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 …]
|