From 841abe84c6a827b4c149bbf916dc55ba50b0930f Mon Sep 17 00:00:00 2001 From: Yangjie Li Date: Mon, 25 Aug 2014 10:37:31 +0800 Subject: [PATCH] lost parameter flag --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cdd207a..5e82dc9 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ is no match. Negative return codes are as follows: struct slre_cap caps[4]; if (slre_match("^\\s*(\\S+)\\s+(\\S+)\\s+HTTP/(\\d)\\.(\\d)", - request, strlen(request), caps, 4) > 0) { + request, strlen(request), caps, 4, NULL) > 0) { printf("Method: [%.*s], URI: [%.*s]\n", caps[0].len, caps[0].ptr, caps[1].len, caps[1].ptr);