From bc48c2be47ed4994d23327980737fef441fbbcc8 Mon Sep 17 00:00:00 2001 From: Frans Kaashoek Date: Mon, 22 Aug 2022 20:44:02 -0400 Subject: [PATCH] Add ref to this nice page about Chapter 9's regexp matcher --- user/grep.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/user/grep.c b/user/grep.c index 19882b9..2315a0c 100644 --- a/user/grep.c +++ b/user/grep.c @@ -62,7 +62,8 @@ main(int argc, char *argv[]) } // Regexp matcher from Kernighan & Pike, -// The Practice of Programming, Chapter 9. +// The Practice of Programming, Chapter 9, or +// https://www.cs.princeton.edu/courses/archive/spr09/cos333/beautiful.html int matchhere(char*, char*); int matchstar(int, char*, char*);