in reply to
Matching problems
That's because you're replacing it with searchstring. You should either use parantheses to catch the match. Or use zero-width lookahead (and behind for closing tag) to do the matching and bold tag insertion.
--
perl -pe "s/\b;([mnst])/'\1/mg"
Comment on
Re: Matching problems
In Section
Seekers of Perl Wisdom