code: function _getValueFromPair(string, pattern) {
           var value = string.match(pattern);
  
           if (!value) {
             throw new Error("Could not find pattern " + pattern + " in string: " + string);
           }
  
           return value[0].split("=")[1];
         }
docs: Gets the value from a string of pairs. For example: one=1 two=2 something=hi. Can accept the regex of /one={d}/
  and returns the value of d
  @private
  @name _getValueFromPair
  @memberOf me.BitmapTextData
  @function
  @returns {String}