We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc6af71 commit ac55e0bCopy full SHA for ac55e0b
doc/Language/traps.pod6
@@ -743,6 +743,12 @@ say 42 ~~ / [ 42 || 0 ] | 4/; # OUTPUT: «「42」»
743
The code above may seem like it is producing a wrong result, but the
744
implementation is actually right.
745
746
+=head2 C<$/> changes each time a regular expression is matched
747
+
748
+Eash time a regular expression is matched against something, the special
749
+variable C<$/> holding the result L<Match object|/type/Match>
750
+is changed accordingly to the result of the match (that could also be C<Nil>).
751
752
=head1 Common Precedence Mistakes
753
754
=head2 Adverbs and Precedence
0 commit comments