From 0c7e627aa27ba42b9a9a4472a4f1cdf857c1a833 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Thu, 26 Jan 2023 10:02:06 +0100 Subject: Removed cregex args in examples which are now defaulted. --- misc/examples/splitstr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc/examples/splitstr.c') diff --git a/misc/examples/splitstr.c b/misc/examples/splitstr.c index 70d1935e..ba927412 100644 --- a/misc/examples/splitstr.c +++ b/misc/examples/splitstr.c @@ -13,7 +13,7 @@ int main() puts("\nSplit with c_FORMATCH (regex):"); - c_WITH (cregex re = cregex_from("[^ ]+", CREG_DEFAULT), cregex_drop(&re)) + c_WITH (cregex re = cregex_from("[^ ]+"), cregex_drop(&re)) c_FORMATCH (i, &re, " Hello World C99! ") printf("'%.*s'\n", c_ARGSV(i.match[0])); } -- cgit v1.2.3