diff options
Diffstat (limited to 'examples/regex2.c')
| -rw-r--r-- | examples/regex2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/regex2.c b/examples/regex2.c index f0869d24..28291915 100644 --- a/examples/regex2.c +++ b/examples/regex2.c @@ -24,7 +24,7 @@ int main() } printf("input: %s\n", s[i].input); - c_foreach_match (j, &re, s[i].input) { + c_formatch (j, &re, s[i].input) { c_forrange (k, cregex_captures(&re)) printf(" submatch %d: %.*s\n", (int)k, c_ARGsv(j.match[k])); puts(""); |
