mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-22 04:10:01 +00:00
⚡ Fix an issue with the regex that detects node names
This commit is contained in:
@@ -961,7 +961,7 @@ export default mixins(
|
|||||||
return originalName;
|
return originalName;
|
||||||
}
|
}
|
||||||
|
|
||||||
const nameMatch = originalName.match(/(.*[a-zA-Z])(\d*)/);
|
const nameMatch = originalName.match(/(.*\D+)(\d*)/);
|
||||||
let ignore, baseName, nameIndex, uniqueName;
|
let ignore, baseName, nameIndex, uniqueName;
|
||||||
let index = 1;
|
let index = 1;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user