code: function parseVersionNumbers(text) {
          if (text) {
              var m = text.match(_versionRegex);
              if (m && m.length > 4) {
                  var m1 = m[1];
                  var m2 = m[2];
                  var m4 = m[4];
                  if (angular.isDefined(m4)) {
                      return [parseInt(m1), parseInt(m2), parseInt(m4)];
                  }
                  else if (angular.isDefined(m2)) {
                      return [parseInt(m1), parseInt(m2)];
                  }
                  else if (angular.isDefined(m1)) {
                      return [parseInt(m1)];
                  }
              }
          }
          return null;
      }
docs: Parses some text of the form "xxxx2.3.4xxxx"
  to extract the version numbers as an array of numbers then returns an array of 2 or 3 numbers.
  
  Characters before the first digit are ignored as are characters after the last digit.
  @method parseVersionNumbers
  @for Core
  @static
  @param {String} text a maven like string containing a dash then numbers separated by dots
  @return {Array}