Does this need to be `'pref'` or `'PREF'` exactly?  Or could this just be `(/pref/i).test(j)`?