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.
1 parent 69db3f3 commit f889d65Copy full SHA for f889d65
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