{"size": 403, "ext": "js", "max_stars_repo_path": "Gateway/wwwroot/lib/globalize/src/number/compact-pattern-re.js", "max_stars_repo_name": "MaslovRG/weblibrary", "max_stars_repo_stars_event_min_datetime": "2016-11-02T18:56:16.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-30T06:51:52.000Z", "max_issues_repo_path": "src/number/compact-pattern-re.js", "max_issues_repo_name": "JamesMGreene/globalize", "max_issues_repo_issues_event_min_datetime": "2016-11-02T18:00:29.000Z", "max_issues_repo_issues_event_max_datetime": "2022-01-20T00:26:08.000Z", "max_forks_repo_path": "src/number/compact-pattern-re.js", "max_forks_repo_name": "JamesMGreene/globalize", "max_forks_repo_forks_event_min_datetime": "2016-11-02T20:08:33.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-30T06:51:53.000Z"}
{"max_stars_count": 2247, "max_issues_count": 314, "max_forks_count": 293, "avg_line_length": 18.3181818182, "max_line_length": 68, "alphanum_fraction": 0.5037220844}
define(function() {

/**
 * EBNF representation:
 *
 * compact_pattern_re =       prefix?
 *                            number_pattern_re
 *                            suffix?
 *
 * number_pattern_re =        0+
 *
 * Regexp groups:
 *
 *  0: compact_pattern_re
 *  1: prefix
 *  2: number_pattern_re (the number pattern to use in compact mode)
 *  3: suffix
 */
return ( /^([^0]*)(0+)([^0]*)$/ );

});
