Skip to content

Commit 4b83bff

Browse files
committed
Fix typo
1 parent b5cf588 commit 4b83bff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/Language/regexes.pod6

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -550,8 +550,8 @@ say so $str ~~ / '."' $$/; # True (at the last line)
550550
=head2 X«C«<|w>» and C«<!|w>», word boundary|regex, <|w>;regex, <!|w>»
551551
552552
If you want to match any word boundary you can use C«<|w>». This is similar to other
553-
languages’ X«C<\b>|regex depreciated,\b».
554-
To match not a word boundary, use <!|w>, similar to other languages X<C<\B>|regex depreciated, \B >.
553+
languages’ X«C<\b>|regex deprecated,\b».
554+
To match not a word boundary, use <!|w>, similar to other languages X<C<\B>|regex deprecated, \B >.
555555
These are both zero width assertions.
556556
557557
=head2 X<<<<C<<< << >>> and C<<< >> >>>, left and right word boundary|regex,<<;regex,>>;regex,«;regex,»>>>>
@@ -725,7 +725,7 @@ the section on Subrules.
725725
=head2 X«Capture markers: C«<( )>»|regex,<( )>»
726726
727727
A C«<(» token indicates the start of the match's overall capture, while the corresponding C«)>»
728-
token indicates its endpoint. The C«<(» is similar to other languages X<\K|regex depreciated,\K> to discard any matches
728+
token indicates its endpoint. The C«<(» is similar to other languages X<\K|regex deprecated,\K> to discard any matches
729729
found before the C<\K>.
730730
731731
=head1 Substitution

0 commit comments

Comments
 (0)