Added support for named capture groups in $Matches.