Skip to content

Commit

Permalink
length($') isn't
Browse files Browse the repository at this point in the history
"foo" =~ /^./; print length $';
     __END__
     i

An ev0l typo that crept in via the 317th subversion. :-)

p5p-msgid: 199704070730.DAA07310@aatma.engin.umich.edu
  • Loading branch information
Gurusamy Sarathy authored and Chip Salzenberg committed Apr 4, 1997
1 parent daff0e3 commit 645a7cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mg.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ MAGIC *mg;
if (rx->subend && (s = rx->endp[0])) {
i = rx->subend - s;
if (i >= 0)
return 0;
return i;
}
}
return 0;
Expand Down

0 comments on commit 645a7cb

Please sign in to comment.