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