Skip to content

Commit e6f2ee6

Browse files
committed
Rephrases sentence, closes #2409
1 parent cc34198 commit e6f2ee6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/Language/regexes.pod6

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1578,9 +1578,10 @@ Adverbs, which modify how regexes work and provide convenient shortcuts for
15781578
certain kinds of recurring tasks, are combinations of one or more letters
15791579
preceded by a colon C<:>.
15801580
1581-
There are two kinds of adverbs: I<regex> adverbs apply at the point where a
1582-
regex is defined, and I<matching> adverbs apply at the point that a regex
1583-
matches against a string.
1581+
The so-called I<regex> adverbs apply at the point where a regex is defined;
1582+
additionally, I<matching> adverbs apply at the point that a regex matches
1583+
against a string and I<substitution> adverbs are applied exclusively in
1584+
substitutions.
15841585
15851586
This distinction often blurs, because matching and declaration are often
15861587
textually close but using the method form of matching, that is, C<.match>, makes

0 commit comments

Comments
 (0)