Good call.
A little massaging would overcome that,
but then that puts us in the realm of s///
and others have already posted better solutions using that.
--
perl -pew "s/\b;([mnst])/'$1/g"
Comment on Re4: Splitting a comma-delimited string where a substring could countain commas