mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 13:27:31 -08:00
⚡ Fix an issue with the regex that detects node names
This commit is contained in:
parent
118b754449
commit
bc66fab041
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue