Skip to content

Commit ac105c2

Browse files
committed
Merge pull request #59 from Mouq/matchvars
Match vars begin at $0 in Perl 6 Looks good to me :)
2 parents a888b08 + 2d47c89 commit ac105c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

S28-special-names.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ If a column has a "-" in it, it means that item is unavailable in that version o
155155
$_[1],$_[2].. $^a,$^b..
156156
$a,$b - Just params to anonymous block
157157
- $/ Object with results of last regex match
158-
$1,$2,$3... $1,$2,$3...
158+
$1,$2,$3... $0,$1,$2... Match capture variables start at 0
159159
$& $MATCH $<>
160160
$` $PREMATCH substr based on $/.from
161161
$' $POSTMATCH substr based on $/.to

0 commit comments

Comments
 (0)