Mega Code Archive
Categories
/
Perl
/
Regular Expression
The s operator supports a number of variables
$& contains the matched string; $` (a backtick character) contains everything before the matched string; $' contains everything after the matched string.