feat: optimize regex extension performance - Implemented caching mechanism for regex scripts to improve message rendering speed. - Added automatic cache invalidation on script updates. - Optimized regex compilation to reduce CPU usage. --------- Co-authored-by: GhostXia <33112711+GhostXia@users.noreply.github.com>