my $re = qr/(?\d{4})(?\d{2}(?
\d{2})/; printf "The date was %04d-%02d-%02d", $+{yyyy}, $+{mm}, $+{dd};