We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 69db3f3 + f889d65 commit 139226fCopy full SHA for 139226f
extensions/ql-vscode/src/query-history/history-item-label-provider.ts
@@ -64,6 +64,7 @@ export class HistoryItemLabelProvider {
64
const rawLabel =
65
item.userSpecifiedLabel ?? (this.config.format || "${queryName}");
66
67
+ legacyLabelRegex.lastIndex = 0; // Reset the regex index to start searching from the start of the string if the strings are the same
68
if (legacyLabelRegex.test(rawLabel)) {
69
return this.legacyInterpolate(rawLabel, variables);
70
}
0 commit comments