You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 2, 2023. It is now read-only.
$versions = preg_replace(sprintf(self::$dirty_regexp_mask, self::$global_single_comparator . '(\\s+-\\s+)?' . self::$global_single_xrange), '$1$2$3', $versions); //Paste comparator and version together
22
21
$versions = preg_replace('/\\s+/', '', $versions); //Condense multiple spaces to one
22
+
$versions = str_replace(array('*', 'X'), 'x', $versions); // All the same wildcards, plz
23
23
if (strstr($versions, ' - '))
24
24
$versions = self::rangesToComparators($versions); //Replace all ranges with comparators
25
25
if (strstr($versions, '~'))
26
26
$versions = self::spermiesToComparators($versions); //Replace all spermies with comparators
27
-
if (strstr($versions, 'x') || strstr($versions, 'X') || strstr($versions, '*'))
0 commit comments