Home
last modified time | relevance | path

Searched refs:backref (Results 1 – 6 of 6) sorted by relevance

/PHP-7.1/ext/pcre/
H A Dphp_pcre.c1068 static int preg_get_backref(char **str, int *backref) in preg_get_backref() argument
1083 *backref = *walk - '0'; in preg_get_backref()
1089 *backref = *backref * 10 + *walk - '0'; in preg_get_backref()
1186 int backref; /* Backreference number */ in php_pcre_replace_impl() local
1300 if (preg_get_backref(&walk, &backref)) { in php_pcre_replace_impl()
1301 if (backref < count) in php_pcre_replace_impl()
1302 new_len += offsets[(backref<<1)+1] - offsets[backref<<1]; in php_pcre_replace_impl()
1336 if (preg_get_backref(&walk, &backref)) { in php_pcre_replace_impl()
1337 if (backref < count) { in php_pcre_replace_impl()
1338 match_len = offsets[(backref<<1)+1] - offsets[backref<<1]; in php_pcre_replace_impl()
[all …]
/PHP-7.1/ext/mbstring/oniguruma/
H A Dregparse.c806 e->back_ref1 = backref; in name_add()
815 e->back_refs[1] = backref; in name_add()
2306 } backref; member
3420 tok->u.backref.num = 1; in fetch_token()
3421 tok->u.backref.ref1 = num; in fetch_token()
3422 tok->u.backref.by_name = 0; in fetch_token()
3491 tok->u.backref.num = 1; in fetch_token()
5326 len = tok->u.backref.num; in parse_exp()
5328 (len > 1 ? tok->u.backref.refs : &(tok->u.backref.ref1)), in parse_exp()
5329 tok->u.backref.by_name, in parse_exp()
[all …]
H A DHISTORY68 2007/08/02: [spec] add backref by number.
1077 too big backref number should be treated as a sequence of
1671 2003/03/12: [spec] change named backref and subexp call format.
1672 backref: \k<name>, call: \g<name> (thanks akr)
1742 2003/02/26: [spec] if backref number is greater than max group number,
H A Dregexec.c2124 goto backref; in match_at()
2129 goto backref; in match_at()
2134 backref: in match_at()
/PHP-7.1/ext/mbstring/oniguruma/doc/
H A DRE337 numbered-backref/call is not allowed.
342 numbered-backref/call is allowed.
367 + named backref \k<name>
H A DAPI315 Return the group number corresponding to the named backref (\k<name>).

Completed in 63 milliseconds