Lines Matching refs:ep
7159 static int singlematch(int c,const char*p,const char*ep){
7163 case'[':return matchbracketclass(c,p,ep-1);
7187 const char*p,const char*ep){
7189 while((s+i)<ms->src_end&&singlematch(uchar(*(s+i)),p,ep))
7192 const char*res=match(ms,(s+i),ep+1);
7199 const char*p,const char*ep){
7201 const char*res=match(ms,s,ep+1);
7204 else if(s<ms->src_end&&singlematch(uchar(*s),p,ep))
7259 const char*ep;char previous;
7264 ep=classend(ms,p);
7266 if(matchbracketclass(uchar(previous),p,ep-1)||
7267 !matchbracketclass(uchar(*s),p,ep-1))return NULL;
7268 p=ep;goto init;
7289 const char*ep=classend(ms,p);
7290 int m=s<ms->src_end&&singlematch(uchar(*s),p,ep);
7291 switch(*ep){
7294 if(m&&((res=match(ms,s+1,ep+1))!=NULL))
7296 p=ep+1;goto init;
7299 return max_expand(ms,s,p,ep);
7302 return(m?max_expand(ms,s+1,p,ep):NULL);
7305 return min_expand(ms,s,p,ep);
7309 s++;p=ep;goto init;