Use regular expression instead of fixed list to match "key = value" pairs