# Match object is $/ # 012345678901234567890 if 'Today is a Perl 6 day' ~~ m/ Perl / { say "Matched '$/'"; } say "from: {$/.from}"; # Starting position of the match say "to: {$/.to}"; # End position of the match say "chars: {$/.chars}"; # Number of characters matched say "Str: {$/.Str}"; # The matched text (default string coercion) say "orig: {$/.orig}"; # The original matched string