That's regular but not phonetic. (I'm not fully convinced that Spanish has quite as much variation as English, but I'll admit I'm not expert on Spanish.) But what do you do when certain segments are not just pronounced differently, but completely absent in some varieties? (E.g. my example about /kɑ:/ vs /kɑ:r/)