fix(Google Sheets Trigger Node): Fix issue with regex showing correct sheet as invalid (#11770)

This commit is contained in:
Jon
2024-11-18 11:54:20 +00:00
committed by GitHub
parent 124ac26e43
commit d5ba1a059b
4 changed files with 89 additions and 11 deletions

View File

@@ -3,3 +3,6 @@ export const GOOGLE_DRIVE_FILE_URL_REGEX =
export const GOOGLE_DRIVE_FOLDER_URL_REGEX =
'https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)';
export const GOOGLE_SHEETS_SHEET_URL_REGEX =
'https:\\/\\/docs\\.google\\.com\\/spreadsheets\\/d\\/[0-9a-zA-Z\\-_]+.*\\#gid=([0-9]+)';