• Clears all compiled regex patterns from the cache. Called when custom rules are updated to prevent stale patterns.

    Returns void

    export function clearRegexCache(): void {
    regexCache.clear();
    console.debug(`[CustomRules] Regex cache cleared`);
    }