diff options
author | Frans Kaashoek <[email protected]> | 2022-08-22 20:44:02 -0400 |
---|---|---|
committer | Frans Kaashoek <[email protected]> | 2022-08-22 20:44:02 -0400 |
commit | bc48c2be47ed4994d23327980737fef441fbbcc8 (patch) | |
tree | 871ccd773ade9513b92058412399a253b64e1746 | |
parent | 2f0b4d698bc48f4efb4b9fdca20f415ec765bf41 (diff) | |
download | xv6-labs-bc48c2be47ed4994d23327980737fef441fbbcc8.tar.gz xv6-labs-bc48c2be47ed4994d23327980737fef441fbbcc8.tar.bz2 xv6-labs-bc48c2be47ed4994d23327980737fef441fbbcc8.zip |
Add ref to this nice page about Chapter 9's regexp matcher
-rw-r--r-- | user/grep.c | 3 |
1 files changed, 2 insertions, 1 deletions
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*); |