Fix platform package regex
parent
3d815b288f
commit
585535a01d
|
@ -24,7 +24,7 @@ use Composer\XdebugHandler\XdebugHandler;
|
|||
*/
|
||||
class PlatformRepository extends ArrayRepository
|
||||
{
|
||||
const PLATFORM_PACKAGE_REGEX = '{^(?:php(?:-64bit|-ipv6|-zts|-debug)?|hhvm|(?:ext|lib)-[a-z0-9](?:-?[a-z0-9]+)*)$}iD';
|
||||
const PLATFORM_PACKAGE_REGEX = '{^(?:php(?:-64bit|-ipv6|-zts|-debug)?|hhvm|(?:ext|lib)-[a-z0-9](?:[_.-]?[a-z0-9]+)*)$}iD';
|
||||
|
||||
private $versionParser;
|
||||
|
||||
|
|
Loading…
Reference in New Issue