Support regex matching for header values.