use named matches in the regex