mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 07:42:38 +08:00
fix md5UUid match (#4812)
This commit is contained in:
@@ -32,7 +32,7 @@ import Pipeline from './pipeline';
|
||||
|
||||
const ID = 'MD5Pipe';
|
||||
const ExtnameRegex = /(\.[^.\n\\/]*)$/;
|
||||
const UuidRegex = /.*[/\\][0-9a-fA-F]{2}[/\\]([0-9a-fA-F-]{8,}(@[^\.]*)?)/;
|
||||
const UuidRegex = /([^/\\]*)\.[^\.]*$/;
|
||||
|
||||
function getUuidFromURL (url) {
|
||||
var matches = url.match(UuidRegex);
|
||||
|
||||
Reference in New Issue
Block a user