https://hackershare.dev/en/bookmarks/771626
正则重构slot指令