Skip to content

Commit dd62c55

Browse files
committed
Warning about old word boundary markers in regexes #2632
1 parent d493957 commit dd62c55

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/Language/regexes.pod6

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1109,7 +1109,8 @@ two leading spaces each.
11091109
To match any word boundary, use C«<|w>» or C«<?wb>». This is similar to
11101110
X«C<\b>|regex deprecated,\b» in other languages. To match the opposite, any
11111111
character that is not bounding a word, use C«<!|w>» or C«<!wb>». This is similar
1112-
to X«C<\B>|regex deprecated,\B» in other languages.
1112+
to X«C<\B>|regex deprecated,\B» in other languages; C<\b> and C<\B> will
1113+
throw an L<C<X::Obsolete>|/type/X::Obsolete> exception from version 6.d of Raku.
11131114
11141115
These are both zero-width regex elements.
11151116

0 commit comments

Comments
 (0)