code: function match(value, regExp, message, id) {
      if (message === void 0) { message = ''; }
      if (id === void 0) { id = ''; }
      if (this.enabled && !regExp.test(value)) {
          throw LogicException.throw(assertionTypes.MATCH, value, message, id);
      }
  }
docs: Check if provided value match provided RegExp
  @param {string} value
  @param {RegExp} regExp
  @param {string} message
  @param {string} id
  @returns {void}