Skip to content

Commit 5c58156

Browse files
committed
🥝🥝🥝 Eat the preserves
Also, the restriction isn't restricted to variables, rather just hashes, even if they're given via a $-sigiled var.
1 parent 7af9d67 commit 5c58156

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Language/regexes.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1501,7 +1501,7 @@ as with ordinary C<|> interpolation, the longest match succeeds:
15011501
my @a = '2', 23, rx/a.+/;
15021502
say ('b235' ~~ / b @a /).Str; # OUTPUT: «b23»
15031503
1504-
The use of hash variables in regexes is preserved.
1504+
The use of hashes in regexes is reserved.
15051505
15061506
=head2 Regex boolean condition check
15071507

0 commit comments

Comments
 (0)