code: function (grouping, decimal) {
              var res = {
                  valid : true
              };
  
              if (!grouping || grouping.length > 1 || /\d/.test(grouping)) {
                  this.$logError(this.INVALID_FORMAT, ["groupingSeparator", this.DECIMAL_BEAN]);
                  res.valid = false;
              }
              if (!decimal || decimal.length > 1 || /\d/.test(decimal)) {
                  this.$logError(this.INVALID_FORMAT, ["decimalSeparator", this.DECIMAL_BEAN]);
                  res.valid = false;
              }
              if (grouping === decimal) {
                  this.$logError(this.INVALID_FORMAT, ["decimalSeparator", this.DECIMAL_BEAN]);
                  res.valid = false;
              }
  
              if (res.valid) {
                  res.group = new RegExp(grouping.replace(this._regExSpecials, "\\$1"), "g");
                  res.decimal = new RegExp(decimal.replace(this._regExSpecials, "\\$1")); // no "g", max one decimal
              }
  
              return res;
          }
docs: Build the Regular Expressions that depends on the symbols used in NumberCfg. Log an error if the separator's
  format is invalid.
  @private
  @param {String} grouping Grouping separator. Single non digit character
  @param {String} decimal Decimal separator. Single non digit character
  @return {Object} Object containing the new regular expression
  
  <pre>
  {
  group : {RegExp} @see _removeGrouping,
  decimal : {RegExp} @see _replaceDecimal,
  valid : {Boolean} true if all symbols are valid
  }
  </pre>