code: function match(re, str) {
      var matches = [];
      if (Type.isString(str)) {
          str.replace(re, function () {
              matches.push([].slice.call(arguments).filter(function (item) {
                  return item !== undefined;
              }));
          });
      } else {
          throw new Error('Core.match: String is not valid type');
      }
      return matches;
  }
docs: @since 0.0.1
  @author Igor Ivanovic
  @function match
  
  @description
  Match string