Add createStringWithRegExp()
Bug fix.
Add a test of expandMessageStrings(), and bug fix.