summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/splitstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/examples/splitstr.c')
-rw-r--r--misc/examples/splitstr.c2
1 files changed, 1 insertions, 1 deletions
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]));
}