text               73 user/grep.c    match(char *re, char *text)
text               76 user/grep.c        return matchhere(re+1, text);
text               78 user/grep.c        if(matchhere(re, text))
text               80 user/grep.c      }while(*text++ != '\0');
text               85 user/grep.c    int matchhere(char *re, char *text)
text               90 user/grep.c        return matchstar(re[0], re+2, text);
text               92 user/grep.c        return *text == '\0';
text               93 user/grep.c      if(*text!='\0' && (re[0]=='.' || re[0]==*text))
text               94 user/grep.c        return matchhere(re+1, text+1);
text               99 user/grep.c    int matchstar(int c, char *re, char *text)
text              102 user/grep.c        if(matchhere(re, text))
text              104 user/grep.c      }while(*text!='\0' && (*text++==c || c=='.'));