(use prcc) (use test) (test-begin "regexp") (define p0 ( ( "[abc]a?(cc)\\w") ( "abc"))) (test (list "bccj" "abc") (parse-string "bccjabc" p0)) (define p1 ( () (eof))) (test (list "bccjabc" "") (parse-string "bccjabc" p1)) (define p2 ( ())) (test (list " \n\t ") (parse-string " \n\t " p2)) (test-end "regexp")