I get
Warning: Use of "" without parens is ambiguous at /tmp/a line 8.
(The offending bit is the matching of v,
insert a newline before this expression and the warning disappears)
But no off by ones
(I got many one I was playing with the earlier versions).
--
perl -pew "s/\b;([mnst])/'$1/g"