Use capture groups in Regex patterns as extractors