Home
last modified time | relevance | path

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

/PHP-5.3/ext/pcre/
H A Dphp_pcre.c808 *backref = *walk - '0'; in preg_get_backref()
814 *backref = *backref * 10 + *walk - '0'; in preg_get_backref()
884 int backref; /* Current backref */ in preg_do_eval() local
903 if (preg_get_backref(&walk, &backref)) { in preg_do_eval()
904 if (backref < count) { in preg_do_eval()
907 match = subject + offsets[backref<<1]; in preg_do_eval()
908 match_len = offsets[(backref<<1)+1] - offsets[backref<<1]; in preg_do_eval()
1104 if (backref < count) in php_pcre_replace_impl()
1105 new_len += offsets[(backref<<1)+1] - offsets[backref<<1]; in php_pcre_replace_impl()
1146 if (backref < count) { in php_pcre_replace_impl()
[all …]
/PHP-5.3/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.3/ext/mbstring/oniguruma/
H A Dregparse.h57 #define NBACKREF(node) ((node)->u.backref)
240 BackrefNode backref; member
H A Dregparse.c800 e->back_ref1 = backref; in name_add()
2269 } backref; member
3240 tok->u.backref.num = 1; in fetch_token()
3241 tok->u.backref.ref1 = num; in fetch_token()
3242 tok->u.backref.by_name = 0; in fetch_token()
3311 tok->u.backref.by_name = 1; in fetch_token()
3313 tok->u.backref.num = 1; in fetch_token()
5075 len = tok->u.backref.num; in parse_exp()
5077 (len > 1 ? tok->u.backref.refs : &(tok->u.backref.ref1)), in parse_exp()
5078 tok->u.backref.by_name, in parse_exp()
[all …]
H A DHISTORY848 too big backref number should be treated as a sequence of
1442 2003/03/12: [spec] change named backref and subexp call format.
1443 backref: \k<name>, call: \g<name> (thanks akr)
1513 2003/02/26: [spec] if backref number is greater than max group number,
H A Dregexec.c2312 goto backref; in match_at()
2317 goto backref; in match_at()
2322 backref: in match_at()
/PHP-5.3/ext/mbstring/oniguruma/doc/
H A DRE290 numbered-backref/call is not allowed.
295 numbered-backref/call is allowed.
321 + named backref \k<name>
H A DAPI298 Return the group number corresponding to the named backref (\k<name>).

Completed in 54 milliseconds