@@ -1872,7 +1872,7 @@ the distinction clear.
1872
1872
1873
1873
In the first example, the matching adverb (C < :exhaustive > ) is contiguous to the
1874
1874
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 >
1876
1876
is only used when defining the C < $regex > variable, and C < :ex > (short for
1877
1877
C < :exhaustive > ) as an argument when matching. As a matter of fact, matching
1878
1878
adverbs cannot even be used in the definition of a regex:
@@ -2388,8 +2388,8 @@ say $string.chars - $string.index: 'SQL'; # OUTPUT: 23
2388
2388
= end code
2389
2389
2390
2390
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.
2393
2393
2394
2394
Backtracking is a costly machinery, therefore it is possible to disable
2395
2395
it in those cases where the matching can be found I < forward > only.
@@ -2487,7 +2487,7 @@ Capture 1 = database!
2487
2487
[SQL][ database!]
2488
2488
= end code
2489
2489
2490
- This demonstrate that disabling backtracking does not mean disabling possible
2490
+ This demonstrates that disabling backtracking does not mean disabling possible
2491
2491
multiple iterations of the matching engine, but rather disabling the backward
2492
2492
matching tuning.
2493
2493
0 commit comments