Thanks a lot for all the replies. Based on all the inputs, I conclude
that the solution that I sought is
reg = Regexp.new('\A' + Regexp.escape(str) + '\z')
By the way, what is RAA? I tried to find MakeRegExp but on the web the
one that I found was MakeRegExp in Perl!
Regards,
Bill