summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/regularexpressions/regex2.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/examples/regularexpressions/regex2.c')
-rw-r--r--misc/examples/regularexpressions/regex2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/regularexpressions/regex2.c b/misc/examples/regularexpressions/regex2.c
index a798b1a1..85890070 100644
--- a/misc/examples/regularexpressions/regex2.c
+++ b/misc/examples/regularexpressions/regex2.c
@@ -27,7 +27,7 @@ int main(void)
c_formatch (j, &re, s[i].input) {
c_forrange (k, cregex_captures(&re) + 1)
- printf(" submatch %lld: %.*s\n", k, c_SV(j.match[k]));
+ printf(" submatch %lld: %.*s\n", k, c_SS(j.match[k]));
}
}
cregex_drop(&re);