fix regex

This commit is contained in:
Joe Danziger
2025-05-08 23:46:15 -04:00
parent e6f83ca4c3
commit 461958a8d7

View File

@@ -55,8 +55,7 @@ const conversionConfig = {
// Documentation URL replacements // Documentation URL replacements
docUrls: [ docUrls: [
{ {
from: /https:\/\/docs\.cursor\.com\/[^ from: /https:\/\/docs\.cursor\.com\/[\^\s)\'"\\]+/g,
\s)'\"]+/g,
to: (match) => match.replace('docs.cursor.com', 'docs.windsurf.com') to: (match) => match.replace('docs.cursor.com', 'docs.windsurf.com')
}, },
{ from: /https:\/\/docs\.windsurf\.com\//g, to: 'https://docs.windsurf.com/' } { from: /https:\/\/docs\.windsurf\.com\//g, to: 'https://docs.windsurf.com/' }