Added regex cache to filters agent