Home
last modified time | relevance | path

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

/PHP-5.5/ext/pcre/
H A Dphp_pcre.c859 *backref = *walk - '0'; in preg_get_backref()
865 *backref = *backref * 10 + *walk - '0'; in preg_get_backref()
935 int backref; /* Current backref */ in preg_do_eval() local
954 if (preg_get_backref(&walk, &backref)) { in preg_do_eval()
955 if (backref < count) { in preg_do_eval()
958 match = subject + offsets[backref<<1]; in preg_do_eval()
959 match_len = offsets[(backref<<1)+1] - offsets[backref<<1]; in preg_do_eval()
1163 if (backref < count) in php_pcre_replace_impl()
1164 new_len += offsets[(backref<<1)+1] - offsets[backref<<1]; in php_pcre_replace_impl()
1205 if (backref < count) { in php_pcre_replace_impl()
[all …]
/PHP-5.5/ext/ereg/regex/
H A Dengine.c13 #define backref sbackref macro
24 #define backref lbackref macro
167 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0);
190 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0);
420 backref(m, start, stop, startst, stopst, lev) in backref() function
543 dp = backref(m, sp, stop, ss+1, stopst, lev);
552 return(backref(m, sp, stop, ss+1, stopst, lev+1));
570 dp = backref(m, sp, stop, ssub, esub, lev);
591 dp = backref(m, sp, stop, ss+1, stopst, lev);
602 dp = backref(m, sp, stop, ss+1, stopst, lev);
[all …]
H A Dengine.ih9 static unsigned char *backref(register struct match *m, unsigned char *start, unsigned char *stop, …
/PHP-5.5/ext/mbstring/oniguruma/
H A Dregparse.c795 e->back_ref1 = backref; in name_add()
804 e->back_refs[1] = backref; in name_add()
2295 } backref; member
3412 tok->u.backref.num = 1; in fetch_token()
3413 tok->u.backref.ref1 = num; in fetch_token()
3414 tok->u.backref.by_name = 0; in fetch_token()
3483 tok->u.backref.num = 1; in fetch_token()
5313 len = tok->u.backref.num; in parse_exp()
5315 (len > 1 ? tok->u.backref.refs : &(tok->u.backref.ref1)), in parse_exp()
5316 tok->u.backref.by_name, in parse_exp()
[all …]
H A DHISTORY44 2007/08/02: [spec] add backref by number.
1053 too big backref number should be treated as a sequence of
1647 2003/03/12: [spec] change named backref and subexp call format.
1648 backref: \k<name>, call: \g<name> (thanks akr)
1718 2003/02/26: [spec] if backref number is greater than max group number,
H A Dregexec.c2129 goto backref; in match_at()
2134 goto backref; in match_at()
2139 backref: in match_at()
/PHP-5.5/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 50 milliseconds