diff --git a/packages/xml-views-quick-fix/src/quick-fix-stable-id.ts b/packages/xml-views-quick-fix/src/quick-fix-stable-id.ts index 467146c1..5ece5daa 100644 --- a/packages/xml-views-quick-fix/src/quick-fix-stable-id.ts +++ b/packages/xml-views-quick-fix/src/quick-fix-stable-id.ts @@ -67,7 +67,7 @@ function getUniqueId( suffix = 0 ): string { if (existingIds[newId]) { - const match = newId.match(/(\d+)$/); + const match = newId.match(/(\d{1,10})$/); if (match) { let num = Number(match[0]); const len = match[0].length;