Second attempt at fixing regex. This time, use match.

Use match and get the field name by using the named pattern "name"