re 73 user/grep.c match(char *re, char *text) re 75 user/grep.c if (re[0] == '^') re 76 user/grep.c return matchhere(re + 1, text); re 78 user/grep.c if (matchhere(re, text)) re 86 user/grep.c matchhere(char *re, char *text) re 88 user/grep.c if (re[0] == '\0') re 90 user/grep.c if (re[1] == '*') re 91 user/grep.c return matchstar(re[0], re + 2, text); re 92 user/grep.c if (re[0] == '$' && re[1] == '\0') re 94 user/grep.c if (*text != '\0' && (re[0] == '.' || re[0] == *text)) re 95 user/grep.c return matchhere(re + 1, text + 1); re 101 user/grep.c matchstar(int c, char *re, char *text) re 104 user/grep.c if (matchhere(re, text))