summaryrefslogtreecommitdiff
path: root/src/pcre2demo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcre2demo.c')
-rw-r--r--src/pcre2demo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pcre2demo.c b/src/pcre2demo.c
index a49f1f8..18431ff 100644
--- a/src/pcre2demo.c
+++ b/src/pcre2demo.c
@@ -198,8 +198,8 @@ if (rc < 0)
return 1;
}
-/* Match succeded. Get a pointer to the output vector, where string offsets are
-stored. */
+/* Match succeeded. Get a pointer to the output vector, where string offsets
+are stored. */
ovector = pcre2_get_ovector_pointer(match_data);
printf("Match succeeded at offset %d\n", (int)ovector[0]);
@@ -436,7 +436,7 @@ for (;;)
return 1;
}
- /* Match succeded */
+ /* Match succeeded */
printf("\nMatch succeeded again at offset %d\n", (int)ovector[0]);