From 461958a8d7ab2b2e7aa0ac429b2d17a83eb8e469 Mon Sep 17 00:00:00 2001 From: Joe Danziger Date: Thu, 8 May 2025 23:46:15 -0400 Subject: [PATCH] fix regex --- scripts/profiles/windsurf.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/profiles/windsurf.js b/scripts/profiles/windsurf.js index 7788db63..0f9a4a87 100644 --- a/scripts/profiles/windsurf.js +++ b/scripts/profiles/windsurf.js @@ -55,8 +55,7 @@ const conversionConfig = { // Documentation URL replacements docUrls: [ { - from: /https:\/\/docs\.cursor\.com\/[^ -\s)'\"]+/g, + from: /https:\/\/docs\.cursor\.com\/[\^\s)\'"\\]+/g, to: (match) => match.replace('docs.cursor.com', 'docs.windsurf.com') }, { from: /https:\/\/docs\.windsurf\.com\//g, to: 'https://docs.windsurf.com/' }