Regexps that match "undefined" should not match nonexistent fields.