The difference between "1. *" and "1.x" in composer requires
1 answer
325. // match wildcard constraints
326. if (preg_match('{^(\d+)(?:\.(\d+))?(?:\.(\d+))?\.[x*]$}', $constraint, $matches)) {
^^
In this regex, you can see that there is x
indeed an undocumented alias *
.
+3
source to share