Fix an issue with the regex that detects node names

This commit is contained in:
Omar Ajoue
2021-02-15 09:55:28 +01:00
committed by GitHub
parent 118b754449
commit bc66fab041

View File

@@ -961,7 +961,7 @@ export default mixins(
return originalName;
}
const nameMatch = originalName.match(/(.*[a-zA-Z])(\d*)/);
const nameMatch = originalName.match(/(.*\D+)(\d*)/);
let ignore, baseName, nameIndex, uniqueName;
let index = 1;