We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2a8437 commit fc18a1bCopy full SHA for fc18a1b
1 file changed
script/update-internal-links.js
@@ -122,7 +122,7 @@ async function main () {
122
123
// We need to preserve fragments and hardcoded versions if any are found.
124
fragmentMatch = oldLink.match(/(#.*$)/)
125
- versionMatch = oldLink.match(/(enterprise-server[/@].*?)\//)
+ versionMatch = oldLink.match(/(enterprise-server(?:@.[^\/]*?)?)\//)
126
127
// Remove the fragment for now.
128
linkToCheck = linkToCheck
0 commit comments