in reply to
using ? and ?? in regex
well ? is a modifier to your search so I'm not even sure what mp?? will match . mp? will match mp or m so I guess mp?? will match m or mp also.
What you need is
mp\w{1,2}
. similarly for rmj use
rm\w
Comment on
Re: using ? and ?? in regex
Select
or
Download
Code
In Section
Seekers of Perl Wisdom