Regex: Re-export getRegexScripts for legacy extensions
| @@ -12,6 +12,9 @@ import { getRegexScripts, getScriptsByType, regex_placement, runRegexScript, SCR | |||
| 12 | import { t } from '../../i18n.js'; | 12 | import { t } from '../../i18n.js'; |
| 13 | import { accountStorage } from '../../util/AccountStorage.js'; | 13 | import { accountStorage } from '../../util/AccountStorage.js'; |
| 14 | 14 | ||
| 15 | // Re-exports for legacy extensions | ||
| 16 | export { getRegexScripts }; | ||
| 17 | |||
| 15 | const sanitizeFileName = name => name.replace(/[\s.<>:"/\\|?*\x00-\x1F\x7F]/g, '_').toLowerCase(); | 18 | const sanitizeFileName = name => name.replace(/[\s.<>:"/\\|?*\x00-\x1F\x7F]/g, '_').toLowerCase(); |
| 16 | 19 | ||
| 17 | /** | 20 | /** |