Skip to content

Commit

Permalink
tweak regex #62800
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Nov 15, 2018
1 parent e7f0b64 commit f8ea816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/workbench/api/node/extHostFileSystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class FsLinkProvider implements vscode.DocumentLinkProvider {
return undefined;
}
if (!this._regex) {
this._regex = new RegExp(`(${(values(this._schemes).join('|'))}):[^\\s]+`, 'gi');
this._regex = new RegExp(`(${(values(this._schemes).join('|'))}):[^\\s"']+`, 'gi');
}
let result: vscode.DocumentLink[] = [];
let max = Math.min(document.lineCount, 2500);
Expand Down

0 comments on commit f8ea816

Please sign in to comment.