Re: [PATCH v5 03/10] test-regex: expose full regcomp() to the command line

2016-01-29 Thread Ramsay Jones
On 29/01/16 05:31, Eric Sunshine wrote: > On Thu, Jan 28, 2016 at 06:56:16PM +0700, Nguyễn Thái Ngọc Duy wrote: >> Signed-off-by: Nguyễn Thái Ngọc Duy >> --- >> diff --git a/test-regex.c b/test-regex.c >> @@ -1,19 +1,63 @@ >> int main(int argc, char **argv) >> { >> -char *pat = "[^={} \t]+

Re: [PATCH v5 03/10] test-regex: expose full regcomp() to the command line

2016-01-28 Thread Eric Sunshine
On Thu, Jan 28, 2016 at 06:56:16PM +0700, Nguyễn Thái Ngọc Duy wrote: > Signed-off-by: Nguyễn Thái Ngọc Duy > --- > diff --git a/test-regex.c b/test-regex.c > @@ -1,19 +1,63 @@ > int main(int argc, char **argv) > { > - char *pat = "[^={} \t]+"; > - char *str = "={}\nfred"; > + const

[PATCH v5 03/10] test-regex: expose full regcomp() to the command line

2016-01-28 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- test-regex.c | 56 ++-- 1 file changed, 50 insertions(+), 6 deletions(-) diff --git a/test-regex.c b/test-regex.c index 0dc598e..3b5641c 100644 --- a/test-regex.c +++ b/test-regex.c @@ -1,19 +1,63 @@ #in