Clears all compiled regex patterns from the cache. Called when custom rules are updated to prevent stale patterns.
export function clearRegexCache(): void { regexCache.clear(); console.debug(`[CustomRules] Regex cache cleared`);} Copy
export function clearRegexCache(): void { regexCache.clear(); console.debug(`[CustomRules] Regex cache cleared`);}
Clears all compiled regex patterns from the cache. Called when custom rules are updated to prevent stale patterns.