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 16b549b + 99a73be commit 50ec29eCopy full SHA for 50ec29e
js/terminal-ext.js
@@ -91,7 +91,7 @@ extend = (term) => {
91
term.stylePrint = (text, wrap = true) => {
92
// Hyperlinks
93
const urlRegex =
94
- /https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)/g;
+ /https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,24}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)/g;
95
const urlMatches = text.matchAll(urlRegex);
96
let allowWrapping = true;
97
for (match of urlMatches) {
0 commit comments