ep 268 lib/lua/lstrlib.c static int singlematch (int c, const char *p, const char *ep) { ep 272 lib/lua/lstrlib.c case '[': return matchbracketclass(c, p, ep-1); ep 302 lib/lua/lstrlib.c const char *p, const char *ep) { ep 304 lib/lua/lstrlib.c while ((s+i)<ms->src_end && singlematch(uchar(*(s+i)), p, ep)) ep 308 lib/lua/lstrlib.c const char *res = match(ms, (s+i), ep+1); ep 317 lib/lua/lstrlib.c const char *p, const char *ep) { ep 319 lib/lua/lstrlib.c const char *res = match(ms, s, ep+1); ep 322 lib/lua/lstrlib.c else if (s<ms->src_end && singlematch(uchar(*s), p, ep)) ep 385 lib/lua/lstrlib.c const char *ep; char previous; ep 390 lib/lua/lstrlib.c ep = classend(ms, p); /* points to what is next */ ep 392 lib/lua/lstrlib.c if (matchbracketclass(uchar(previous), p, ep-1) || ep 393 lib/lua/lstrlib.c !matchbracketclass(uchar(*s), p, ep-1)) return NULL; ep 394 lib/lua/lstrlib.c p=ep; goto init; /* else return match(ms, s, ep); */ ep 415 lib/lua/lstrlib.c const char *ep = classend(ms, p); /* points to what is next */ ep 416 lib/lua/lstrlib.c int m = s<ms->src_end && singlematch(uchar(*s), p, ep); ep 417 lib/lua/lstrlib.c switch (*ep) { ep 420 lib/lua/lstrlib.c if (m && ((res=match(ms, s+1, ep+1)) != NULL)) ep 422 lib/lua/lstrlib.c p=ep+1; goto init; /* else return match(ms, s, ep+1); */ ep 425 lib/lua/lstrlib.c return max_expand(ms, s, p, ep); ep 428 lib/lua/lstrlib.c return (m ? max_expand(ms, s+1, p, ep) : NULL); ep 431 lib/lua/lstrlib.c return min_expand(ms, s, p, ep); ep 435 lib/lua/lstrlib.c s++; p=ep; goto init; /* else return match(ms, s+1, ep); */