Postmatch $'
$text = 'earlynowlate'; $text =~ /now/; print "Prematch: \"$`\" Match: \"$&\" Postmatch: \"$'\"\n";