Skip to content

Commit b9cde7e

Browse files
authored
Merge pull request microsoft#186683 from microsoft/tyriar/186661
Validate local links that end with .
2 parents eafde5a + 9b71004 commit b9cde7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/terminalContrib/links/browser/terminalLocalLinkDetector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export class TerminalLocalLinkDetector implements ITerminalLinkDetector {
134134

135135
// If any candidates end with special characters that are likely to not be part of the
136136
// link, add a candidate excluding them.
137-
const specialEndCharRegex = /[\[\]"']$/;
137+
const specialEndCharRegex = /[\[\]"'\.]$/;
138138
const trimRangeMap: Map<string, number> = new Map();
139139
const specialEndLinkCandidates: string[] = [];
140140
for (const candidate of linkCandidates) {

0 commit comments

Comments
 (0)