Skip to content

Commit fc4d52b

Browse files
authored
Merge pull request #2953 from sfischer13/master
Typos
2 parents 65f0e41 + fcabf38 commit fc4d52b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/Language/regexes.pod6

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1872,7 +1872,7 @@ the distinction clear.
18721872
18731873
In the first example, the matching adverb (C<:exhaustive>) is contiguous to the
18741874
regex adverb (C<:i>), and as a matter of fact, the "definition" and the
1875-
"matching" go together; however, by using C<match> it becomes clear than C<:i>
1875+
"matching" go together; however, by using C<match> it becomes clear that C<:i>
18761876
is only used when defining the C<$regex> variable, and C<:ex> (short for
18771877
C<:exhaustive>) as an argument when matching. As a matter of fact, matching
18781878
adverbs cannot even be used in the definition of a regex:
@@ -2388,8 +2388,8 @@ say $string.chars - $string.index: 'SQL'; # OUTPUT: 23
23882388
=end code
23892389
23902390
Since there are 23 chars from the very end of the string to the very first I<S> of I<SQL>
2391-
the backtracking engine will need 23 "useless" matches to find the right one, that
2392-
is will need 24 steps to get the final result.
2391+
the backtracking engine will need 23 "useless" matches to find the right one, that is,
2392+
it will need 24 steps to get the final result.
23932393
23942394
Backtracking is a costly machinery, therefore it is possible to disable
23952395
it in those cases where the matching can be found I<forward> only.
@@ -2487,7 +2487,7 @@ Capture 1 = database!
24872487
[SQL][ database!]
24882488
=end code
24892489
2490-
This demonstrate that disabling backtracking does not mean disabling possible
2490+
This demonstrates that disabling backtracking does not mean disabling possible
24912491
multiple iterations of the matching engine, but rather disabling the backward
24922492
matching tuning.
24932493

0 commit comments

Comments
 (0)