Skip to content

Commit b52de60

Browse files
Fix typo (#690)
1 parent 82d7d5e commit b52de60

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

doc/html/pcre2api.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4049,7 +4049,7 @@ <h1>pcre2api man page</h1>
40494049
<b> void *<i>callout_data</i>);</b>
40504050
<br>
40514051
<br>
4052-
The <b>pcre2_set_substitution_callout()</b> function can be used to specify a
4052+
The <b>pcre2_set_substitute_callout()</b> function can be used to specify a
40534053
callout function for <b>pcre2_substitute()</b>. This information is passed in
40544054
a match context. The callout function is called after each substitution has
40554055
been processed, but it can cause the replacement not to happen.
@@ -4123,7 +4123,7 @@ <h1>pcre2api man page</h1>
41234123
<b> void *<i>callout_data</i>);</b>
41244124
<br>
41254125
<br>
4126-
The <b>pcre2_set_substitution_case_callout()</b> function can be used to specify
4126+
The <b>pcre2_set_substitute_case_callout()</b> function can be used to specify
41274127
a callout function for <b>pcre2_substitute()</b> to use when performing case
41284128
transformations. This does not affect any case insensitivity behaviour when
41294129
performing a match, but only the user-visible transformations performed when

doc/pcre2.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3894,7 +3894,7 @@ CREATING A NEW STRING WITH SUBSTITUTIONS
38943894
int (*callout_function)(pcre2_substitute_callout_block *, void *),
38953895
void *callout_data);
38963896

3897-
The pcre2_set_substitution_callout() function can be used to specify a
3897+
The pcre2_set_substitute_callout() function can be used to specify a
38983898
callout function for pcre2_substitute(). This information is passed in
38993899
a match context. The callout function is called after each substitution
39003900
has been processed, but it can cause the replacement not to happen.
@@ -3959,7 +3959,7 @@ CREATING A NEW STRING WITH SUBSTITUTIONS
39593959
int, void *),
39603960
void *callout_data);
39613961

3962-
The pcre2_set_substitution_case_callout() function can be used to spec-
3962+
The pcre2_set_substitute_case_callout() function can be used to spec-
39633963
ify a callout function for pcre2_substitute() to use when performing
39643964
case transformations. This does not affect any case insensitivity be-
39653965
haviour when performing a match, but only the user-visible transforma-

doc/pcre2api.3

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4039,7 +4039,7 @@ above).
40394039
.B " void *\fIcallout_data\fP);"
40404040
.fi
40414041
.sp
4042-
The \fBpcre2_set_substitution_callout()\fP function can be used to specify a
4042+
The \fBpcre2_set_substitute_callout()\fP function can be used to specify a
40434043
callout function for \fBpcre2_substitute()\fP. This information is passed in
40444044
a match context. The callout function is called after each substitution has
40454045
been processed, but it can cause the replacement not to happen.
@@ -4107,7 +4107,7 @@ matches so far.
41074107
.B " void *\fIcallout_data\fP);"
41084108
.fi
41094109
.sp
4110-
The \fBpcre2_set_substitution_case_callout()\fP function can be used to specify
4110+
The \fBpcre2_set_substitute_case_callout()\fP function can be used to specify
41114111
a callout function for \fBpcre2_substitute()\fP to use when performing case
41124112
transformations. This does not affect any case insensitivity behaviour when
41134113
performing a match, but only the user-visible transformations performed when

0 commit comments

Comments
 (0)